comparison TurnEngine.cpp @ 1950:8509a59af88f

pActorBuffs[4] to pActorBuffs[ACTOR_BUFF_AFRAID]
author Grumpy7
date Fri, 25 Oct 2013 11:12:18 -0700
parents aa3ca49a10f5
children 524fe0810f32
comparison
equal deleted inserted replaced
1949:2f45768fcb7a 1950:8509a59af88f
1059 if ( v28 < 2560 ) 1059 if ( v28 < 2560 )
1060 actor->pMonsterInfo.uHostilityType = MonsterInfo::Hostility_Long; 1060 actor->pMonsterInfo.uHostilityType = MonsterInfo::Hostility_Long;
1061 break; 1061 break;
1062 } 1062 }
1063 1063
1064 if ( actor->pActorBuffs[4].uExpireTime > 0 ) 1064 if ( actor->pActorBuffs[ACTOR_BUFF_AFRAID].uExpireTime > 0 )
1065 { 1065 {
1066 if (v11 < 10240 ) 1066 if (v11 < 10240 )
1067 { 1067 {
1068 Actor::AI_Flee(uActorID, a2a, 0, &pDir); 1068 Actor::AI_Flee(uActorID, a2a, 0, &pDir);
1069 v29->AI_action_type = 4; 1069 v29->AI_action_type = 4;