diff Indoor.cpp @ 305:cc8e4dc397ec

MonsterPopup_Draw crash fix
author Nomad
date Tue, 19 Feb 2013 21:50:33 +0200
parents af7e848d6def
children 6d584c95dcf8 2a09e1d6fc8f
line wrap: on
line diff
--- a/Indoor.cpp	Tue Feb 19 15:40:11 2013 +0200
+++ b/Indoor.cpp	Tue Feb 19 21:50:33 2013 +0200
@@ -4004,7 +4004,7 @@
           || (v56 = _46CEC3_get_floor_level(v0->vPosition.x, v0->vPosition.y, v0->vPosition.z, v5, &uFaceID), v56 == -30000) )
           goto LABEL_123;
       }
-      if ( v0->uCurrentActionAnimation == 1 )
+      if ( v0->uCurrentActionAnimation == ANIM_Walking)
       {
         v6 = v0->uMovementSpeed;
         v7 = HIDWORD(v0->pActorBuffs[7].uExpireTime) == 0;