comparison 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
comparison
equal deleted inserted replaced
1166:11cda4934da3 1167:15ad868d972f
840 int v1; // edi@9 840 int v1; // edi@9
841 int v2; // ebx@9 841 int v2; // ebx@9
842 int v3; // eax@9 842 int v3; // eax@9
843 unsigned int v4; // [sp+8h] [bp-4h]@4 843 unsigned int v4; // [sp+8h] [bp-4h]@4
844 844
845 if ( (signed __int64)pParty->pPartyBuffs[11].uExpireTime > 0 ) 845 if ( (signed __int64)pParty->pPartyBuffs[PARTY_BUFF_INVISIBILITY].uExpireTime > 0 )
846 pParty->pPartyBuffs[11].Reset(); 846 pParty->pPartyBuffs[PARTY_BUFF_INVISIBILITY].Reset();
847 if ( pParty->bTurnBasedModeOn != 1 ) 847 if ( pParty->bTurnBasedModeOn != 1 )
848 { 848 {
849 v4 = 0; 849 v4 = 0;
850 if ( (signed int)uNumActors > 0 ) 850 if ( (signed int)uNumActors > 0 )
851 { 851 {