diff CastSpellInfo.cpp @ 1340:22cb507446a4

turnengine refactoring continue
author Gloval
date Sat, 06 Jul 2013 00:29:29 +0400
parents e70fe5d77928
children b3ac17fd12de
line wrap: on
line diff
--- a/CastSpellInfo.cpp	Fri Jul 05 17:37:30 2013 +0600
+++ b/CastSpellInfo.cpp	Sat Jul 06 00:29:29 2013 +0400
@@ -4165,7 +4165,7 @@
   //  || (result = pTurnEngine->field_4, pTurnEngine->field_4 != 1) && pTurnEngine->field_4 != 3 )
   if (pParty->bTurnBasedModeOn)
   {
-    if (pTurnEngine->field_4 == 1 || pTurnEngine->field_4 == 3)
+    if (pTurnEngine->turn_stage == 1 || pTurnEngine->turn_stage == 3)
       return;
   }