diff mm7_4.cpp @ 2182:e1e4a8a20b5f

_46А6АС_GetActorsInViewport
author Ritor1
date Thu, 23 Jan 2014 17:31:12 +0600
parents 9aa0a5d90454
children e0863f5beee0
line wrap: on
line diff
--- a/mm7_4.cpp	Thu Jan 23 00:18:05 2014 +0600
+++ b/mm7_4.cpp	Thu Jan 23 17:31:12 2014 +0600
@@ -846,9 +846,9 @@
       pParty->pPlayers[i].SetCondition(1, 0);
   }
 
-  for (uint i = 0; i < 2; ++i)
+  for (uint i = 0; i < 2; ++i)//            
   {
-    SpellBuff* pBuf = &pParty->pPartyBuffs[dword_4EE07C[i]];
+    SpellBuff* pBuf = &pParty->pPartyBuffs[Party_Spec_Motion_status_ids[i]];
     if (pBuf->uExpireTime == 0)
       continue;
 
@@ -857,7 +857,7 @@
       if (!pPlayers[pBuf->uCaster]->CanAct())
       {
         pBuf->Reset();
-        if (dword_4EE07C[i] == PARTY_BUFF_FLY )
+        if (Party_Spec_Motion_status_ids[i] == PARTY_BUFF_FLY )
           pParty->bFlying = false;
       }
     }