diff mm7_6.cpp @ 1965:182d49f28170

pActorBuffs[21] to pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS]
author Grumpy7
date Fri, 25 Oct 2013 11:23:34 -0700
parents 2b6c6ff66823
children 7840fe323f67
line wrap: on
line diff
--- a/mm7_6.cpp	Fri Oct 25 11:22:27 2013 -0700
+++ b/mm7_6.cpp	Fri Oct 25 11:23:34 2013 -0700
@@ -306,12 +306,12 @@
 		}
 	case 73:
 		{
-		if ( SHIDWORD(pActor->pActorBuffs[21].uExpireTime) < 0 )
+		if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS].uExpireTime) < 0 )
 			return 1;
-		if ( SHIDWORD(pActor->pActorBuffs[21].uExpireTime) > 0 )
+		if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS].uExpireTime) > 0 )
 			return 0;
 		v3 = 0;
-		v4 = LODWORD(pActor->pActorBuffs[21].uExpireTime) == 0;
+		v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS].uExpireTime) == 0;
 		break;
 		}
 	case 5: