Mercurial > mm7
diff mm7_6.cpp @ 1962:39a68477ead3
pActorBuffs[18] to pActorBuffs[ACTOR_BUFF_HEROISM]
author | Grumpy7 |
---|---|
date | Fri, 25 Oct 2013 11:21:37 -0700 |
parents | 592d604088b3 |
children | 223143ef1289 |
line wrap: on
line diff
--- a/mm7_6.cpp Fri Oct 25 11:21:05 2013 -0700 +++ b/mm7_6.cpp Fri Oct 25 11:21:37 2013 -0700 @@ -365,12 +365,12 @@ } case 51: { - if ( SHIDWORD(pActor->pActorBuffs[18].uExpireTime) < 0 ) + if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_HEROISM].uExpireTime) < 0 ) return 1; - if ( SHIDWORD(pActor->pActorBuffs[18].uExpireTime) <= 0 ) + if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_HEROISM].uExpireTime) <= 0 ) { v3 = 0; - v4 = LODWORD(pActor->pActorBuffs[18].uExpireTime) == 0; + v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_HEROISM].uExpireTime) == 0; } else return 0;