# HG changeset patch # User Grumpy7 # Date 1382725321 25200 # Node ID 223143ef12899466dabbb0de22b26dbdf0b1efea # Parent 39a68477ead383cabac16005c36f6aebb0d8467f pActorBuffs[19] to pActorBuffs[ACTOR_BUFF_HASTE] diff -r 39a68477ead3 -r 223143ef1289 Actor.cpp --- a/Actor.cpp Fri Oct 25 11:21:37 2013 -0700 +++ b/Actor.cpp Fri Oct 25 11:22:01 2013 -0700 @@ -321,7 +321,7 @@ v39 = 240 * (realPoints + 15); else v39 = 0; - actorPtr->pActorBuffs[19].Apply( + actorPtr->pActorBuffs[ACTOR_BUFF_HASTE].Apply( pParty->uTimePlayed + (signed int)(signed __int64)((double)(v39 << 7) * 0.033333335), masteryLevel, 0, diff -r 39a68477ead3 -r 223143ef1289 mm7_6.cpp --- a/mm7_6.cpp Fri Oct 25 11:21:37 2013 -0700 +++ b/mm7_6.cpp Fri Oct 25 11:22:01 2013 -0700 @@ -316,12 +316,12 @@ } case 5: { - if ( SHIDWORD(pActor->pActorBuffs[19].uExpireTime) < 0 ) + if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_HASTE].uExpireTime) < 0 ) return 1; - if ( SHIDWORD(pActor->pActorBuffs[19].uExpireTime) > 0 ) + if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_HASTE].uExpireTime) > 0 ) return 0; v3 = 0; - v4 = LODWORD(pActor->pActorBuffs[19].uExpireTime) == 0; + v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_HASTE].uExpireTime) == 0; break; } case 17: