diff CastSpellInfo.cpp @ 1951:524fe0810f32

pActorBuffs[7] to pActorBuffs[ACTOR_BUFF_SLOWED]
author Grumpy7
date Fri, 25 Oct 2013 11:13:15 -0700
parents 8509a59af88f
children 23cb27a497a0
line wrap: on
line diff
--- a/CastSpellInfo.cpp	Fri Oct 25 11:12:18 2013 -0700
+++ b/CastSpellInfo.cpp	Fri Oct 25 11:13:15 2013 -0700
@@ -882,8 +882,8 @@
 			v58 = (signed __int64)((double)(23040 * v2) * 0.033333335);
 			//v59 = v721;
 			pActor = &pActors[PID_ID(a2)];
-			//((SpellBuff *)((char *)&pActors[0].pActorBuffs[7] + v721))->Apply(
-			pActor->pActorBuffs[7].Apply(pParty->uTimePlayed + (signed int)v58,	v731, amount, 0, 0);
+			//((SpellBuff *)((char *)&pActors[0].pActorBuffs[ACTOR_BUFF_SLOWED] + v721))->Apply(
+			pActor->pActorBuffs[ACTOR_BUFF_SLOWED].Apply(pParty->uTimePlayed + (signed int)v58,	v731, amount, 0, 0);
 			//*((char *)&pActors[0].uAttributes + v59 + 2) |= 8u;
 			BYTE2(pActor->uAttributes) |= 8u;
 			//v672 = 0;