diff TurnEngine.cpp @ 1950:8509a59af88f

pActorBuffs[4] to pActorBuffs[ACTOR_BUFF_AFRAID]
author Grumpy7
date Fri, 25 Oct 2013 11:12:18 -0700
parents aa3ca49a10f5
children 524fe0810f32
line wrap: on
line diff
--- a/TurnEngine.cpp	Fri Oct 25 11:11:31 2013 -0700
+++ b/TurnEngine.cpp	Fri Oct 25 11:12:18 2013 -0700
@@ -1061,7 +1061,7 @@
         break;
         }
 
-    if ( actor->pActorBuffs[4].uExpireTime > 0 )
+    if ( actor->pActorBuffs[ACTOR_BUFF_AFRAID].uExpireTime > 0 )
         {
         if (v11 < 10240 )
             {