comparison 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
comparison
equal deleted inserted replaced
1964:2b6c6ff66823 1965:182d49f28170
304 v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_REFLECTION].uExpireTime) == 0; 304 v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_REFLECTION].uExpireTime) == 0;
305 break; 305 break;
306 } 306 }
307 case 73: 307 case 73:
308 { 308 {
309 if ( SHIDWORD(pActor->pActorBuffs[21].uExpireTime) < 0 ) 309 if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS].uExpireTime) < 0 )
310 return 1; 310 return 1;
311 if ( SHIDWORD(pActor->pActorBuffs[21].uExpireTime) > 0 ) 311 if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS].uExpireTime) > 0 )
312 return 0; 312 return 0;
313 v3 = 0; 313 v3 = 0;
314 v4 = LODWORD(pActor->pActorBuffs[21].uExpireTime) == 0; 314 v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS].uExpireTime) == 0;
315 break; 315 break;
316 } 316 }
317 case 5: 317 case 5:
318 { 318 {
319 if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_HASTE].uExpireTime) < 0 ) 319 if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_HASTE].uExpireTime) < 0 )