diff Party.cpp @ 1167:15ad868d972f

pPartyBuffs - change plain numbers to enums
author Grumpy7
date Tue, 04 Jun 2013 18:29:35 +0200
parents 29a8defbad9e
children 0dbf6c4dd029
line wrap: on
line diff
--- a/Party.cpp	Tue Jun 04 08:28:20 2013 +0400
+++ b/Party.cpp	Tue Jun 04 18:29:35 2013 +0200
@@ -842,8 +842,8 @@
   int v3; // eax@9
   unsigned int v4; // [sp+8h] [bp-4h]@4
 
-  if ( (signed __int64)pParty->pPartyBuffs[11].uExpireTime > 0 )
-    pParty->pPartyBuffs[11].Reset();
+  if ( (signed __int64)pParty->pPartyBuffs[PARTY_BUFF_INVISIBILITY].uExpireTime > 0 )
+    pParty->pPartyBuffs[PARTY_BUFF_INVISIBILITY].Reset();
   if ( pParty->bTurnBasedModeOn != 1 )
   {
     v4 = 0;