Mercurial > mm7
comparison mm7_3.cpp @ 1951:524fe0810f32
pActorBuffs[7] to pActorBuffs[ACTOR_BUFF_SLOWED]
author | Grumpy7 |
---|---|
date | Fri, 25 Oct 2013 11:13:15 -0700 |
parents | 3f0b9ffd788c |
children | c1c74df0a33e |
comparison
equal
deleted
inserted
replaced
1950:8509a59af88f | 1951:524fe0810f32 |
---|---|
977 continue; | 977 continue; |
978 } | 978 } |
979 if ( v0->uCurrentActionAnimation == ANIM_Walking ) | 979 if ( v0->uCurrentActionAnimation == ANIM_Walking ) |
980 { | 980 { |
981 v8 = v0->uMovementSpeed; | 981 v8 = v0->uMovementSpeed; |
982 if ( (signed __int64)v0->pActorBuffs[7].uExpireTime > 0 ) | 982 if ( (signed __int64)v0->pActorBuffs[ACTOR_BUFF_SLOWED].uExpireTime > 0 ) |
983 { | 983 { |
984 v8 = (signed __int64)((double)v8 * 0.5); | 984 v8 = (signed __int64)((double)v8 * 0.5); |
985 } | 985 } |
986 if ( uAIState == Fleeing || uAIState == Pursuing ) | 986 if ( uAIState == Fleeing || uAIState == Pursuing ) |
987 { | 987 { |