Mercurial > mm7
comparison 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 |
comparison
equal
deleted
inserted
replaced
1956:542c13cd72e2 | 1957:3d0c57c4fa83 |
---|---|
274 } | 274 } |
275 return 1; | 275 return 1; |
276 } | 276 } |
277 case 85: | 277 case 85: |
278 { | 278 { |
279 if ( SHIDWORD(pActor->pActorBuffs[13].uExpireTime) < 0 ) | 279 if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_DAY_OF_PROTECTION].uExpireTime) < 0 ) |
280 return 1; | 280 return 1; |
281 if ( SHIDWORD(pActor->pActorBuffs[13].uExpireTime) > 0 ) | 281 if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_DAY_OF_PROTECTION].uExpireTime) > 0 ) |
282 return 0; | 282 return 0; |
283 v3 = 0; | 283 v3 = 0; |
284 v4 = LODWORD(pActor->pActorBuffs[13].uExpireTime) == 0; | 284 v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_DAY_OF_PROTECTION].uExpireTime) == 0; |
285 break; | 285 break; |
286 } | 286 } |
287 case 86: | 287 case 86: |
288 { | 288 { |
289 if ( SHIDWORD(pActor->pActorBuffs[14].uExpireTime) < 0 ) | 289 if ( SHIDWORD(pActor->pActorBuffs[14].uExpireTime) < 0 ) |