diff CastSpellInfo.cpp @ 1955:0c5326e2044a

pActorBuffs[11] to pActorBuffs[ACTOR_BUFF_FATE]
author Grumpy7
date Fri, 25 Oct 2013 11:16:52 -0700
parents 730166317ed0
children 542c13cd72e2
line wrap: on
line diff
--- a/CastSpellInfo.cpp	Fri Oct 25 11:15:57 2013 -0700
+++ b/CastSpellInfo.cpp	Fri Oct 25 11:16:52 2013 -0700
@@ -2309,7 +2309,7 @@
 				v343 = PID_ID(v342);
 				HIDWORD(v344) = 0 + ((pParty->uTimePlayed + 1280) >> 32);
 				LODWORD(v344) = LODWORD(pParty->uTimePlayed) + 1280;
-				pActors[v343].pActorBuffs[11].Apply(v344, v731, amount, 0, 0);
+				pActors[v343].pActorBuffs[ACTOR_BUFF_FATE].Apply(v344, v731, amount, 0, 0);
 				BYTE2(pActors[v343].uAttributes) |= 8u;
 				//v672 = 0;
 				v661 = &pActors[v343];