diff Actor.cpp @ 1956:542c13cd72e2

pActorBuffs[12] to pActorBuffs[ACTOR_BUFF_ENSLAVED]
author Grumpy7
date Fri, 25 Oct 2013 11:17:25 -0700
parents 0c5326e2044a
children 3d0c57c4fa83
line wrap: on
line diff
--- a/Actor.cpp	Fri Oct 25 11:16:52 2013 -0700
+++ b/Actor.cpp	Fri Oct 25 11:17:25 2013 -0700
@@ -2466,7 +2466,7 @@
   if (can_target_party && !pParty->Invisible())
   {
     if ( thisActor->uAttributes & 0x80000
-      && thisActor->pActorBuffs[12].uExpireTime <= 0
+      && thisActor->pActorBuffs[ACTOR_BUFF_ENSLAVED].uExpireTime <= 0
       && thisActor->pActorBuffs[ACTOR_BUFF_CHARM].uExpireTime <= 0
       && thisActor->pActorBuffs[ACTOR_BUFF_SUMMONED].uExpireTime <= 0 )
       v14 = 4;