diff mm7_6.cpp @ 1957:3d0c57c4fa83

pActorBuffs[13] to pActorBuffs[ACTOR_BUFF_DAY_OF_PROTECTION]
author Grumpy7
date Fri, 25 Oct 2013 11:18:10 -0700
parents 0c5326e2044a
children 95095c2a5e19
line wrap: on
line diff
--- a/mm7_6.cpp	Fri Oct 25 11:17:25 2013 -0700
+++ b/mm7_6.cpp	Fri Oct 25 11:18:10 2013 -0700
@@ -276,12 +276,12 @@
 		}
 	case 85:
 		{
-		if ( SHIDWORD(pActor->pActorBuffs[13].uExpireTime) < 0 )
+		if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_DAY_OF_PROTECTION].uExpireTime) < 0 )
 			return 1;
-		if ( SHIDWORD(pActor->pActorBuffs[13].uExpireTime) > 0 )
+		if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_DAY_OF_PROTECTION].uExpireTime) > 0 )
 			return 0;
 		v3 = 0;
-		v4 = LODWORD(pActor->pActorBuffs[13].uExpireTime) == 0;
+		v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_DAY_OF_PROTECTION].uExpireTime) == 0;
 		break;
 		}
 	case 86: