diff UIPopup.cpp @ 1167:15ad868d972f

pPartyBuffs - change plain numbers to enums
author Grumpy7
date Tue, 04 Jun 2013 18:29:35 +0200
parents 29a8defbad9e
children 8c02e6f74b29
line wrap: on
line diff
--- a/UIPopup.cpp	Tue Jun 04 08:28:20 2013 +0400
+++ b/UIPopup.cpp	Tue Jun 04 18:29:35 2013 +0200
@@ -1393,7 +1393,7 @@
     }
     while ( i < 10 );
   }
-  if ( (signed __int64)pParty->pPartyBuffs[3].uExpireTime > 0 )
+  if ( (signed __int64)pParty->pPartyBuffs[PARTY_BUFF_DETECT_LIFE].uExpireTime > 0 )
   {
     sprintf(pTmpBuf, "%s: %d", pGlobalTXT_LocalizationStrings[650], v121->sCurrentHP);
     pFontSmallnum->GetLineWidth(pTmpBuf);