diff mm7_3.cpp @ 305:cc8e4dc397ec

MonsterPopup_Draw crash fix
author Nomad
date Tue, 19 Feb 2013 21:50:33 +0200
parents 3dcc9d945eeb
children 6d584c95dcf8 2a09e1d6fc8f
line wrap: on
line diff
--- a/mm7_3.cpp	Tue Feb 19 15:40:11 2013 +0200
+++ b/mm7_3.cpp	Tue Feb 19 21:50:33 2013 +0200
@@ -1017,7 +1017,7 @@
       v0->uAIState = Removed;
       goto LABEL_121;
     }
-    if ( v0->uCurrentActionAnimation == 1 )
+    if ( v0->uCurrentActionAnimation == ANIM_Walking )
     {
       v8 = v0->uMovementSpeed;
       v9 = HIDWORD(v0->pActorBuffs[7].uExpireTime) == 0;