Mercurial > mm7
diff TurnEngine.cpp @ 1946:aa3ca49a10f5
pActorBuffs[6] to pActorBuffs[ACTOR_BUFF_PARALYZED]
author | Grumpy7 |
---|---|
date | Fri, 25 Oct 2013 11:08:34 -0700 |
parents | 431d3da6e945 |
children | 8509a59af88f |
line wrap: on
line diff
--- a/TurnEngine.cpp Fri Oct 25 11:07:52 2013 -0700 +++ b/TurnEngine.cpp Fri Oct 25 11:08:34 2013 -0700 @@ -966,7 +966,7 @@ if (PID_TYPE(pQueue[i].uPackedID) == OBJECT_Actor) { v6 = &pActors[PID_ID(pQueue[i].uPackedID)]; - if ( !(v6->pActorBuffs[ACTOR_BUFF_STONED].uExpireTime > 0|| (v6->pActorBuffs[6].uExpireTime > 0) || + if ( !(v6->pActorBuffs[ACTOR_BUFF_STONED].uExpireTime > 0|| (v6->pActorBuffs[ACTOR_BUFF_PARALYZED].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)];