Mercurial > mm7
diff TurnEngine.cpp @ 1945:431d3da6e945
pActorBuffs[5] to pActorBuffs[ACTOR_BUFF_STONED]
author | Grumpy7 |
---|---|
date | Fri, 25 Oct 2013 11:07:52 -0700 |
parents | 8d3723ca71e6 |
children | aa3ca49a10f5 |
line wrap: on
line diff
--- a/TurnEngine.cpp Fri Oct 25 00:51:32 2013 -0700 +++ b/TurnEngine.cpp Fri Oct 25 11:07:52 2013 -0700 @@ -966,7 +966,7 @@ if (PID_TYPE(pQueue[i].uPackedID) == OBJECT_Actor) { v6 = &pActors[PID_ID(pQueue[i].uPackedID)]; - if ( !(v6->pActorBuffs[5].uExpireTime > 0|| (v6->pActorBuffs[6].uExpireTime > 0) || + if ( !(v6->pActorBuffs[ACTOR_BUFF_STONED].uExpireTime > 0|| (v6->pActorBuffs[6].uExpireTime > 0) || v6->uAIState == AIState::Dead || v6->uAIState == AIState::Removed || v6->uAIState == AIState::Disabled) ) { v13 = ai_near_actors_targets_pid[PID_ID(pQueue[i].uPackedID)];