diff CastSpellInfo.cpp @ 2242:c4f87fb3cfee

for NextTurn()
author Ritor1
date Mon, 24 Feb 2014 16:19:01 +0600
parents 6ab7d7c112bb
children aff7a7b072b7
line wrap: on
line diff
--- a/CastSpellInfo.cpp	Sun Feb 23 03:07:46 2014 +0100
+++ b/CastSpellInfo.cpp	Mon Feb 24 16:19:01 2014 +0600
@@ -3327,7 +3327,7 @@
   //  || (result = pTurnEngine->field_4, pTurnEngine->field_4 != 1) && pTurnEngine->field_4 != 3 )
   if (pParty->bTurnBasedModeOn)
   {
-    if (pTurnEngine->turn_stage == 1 || pTurnEngine->turn_stage == 3)
+    if ( pTurnEngine->turn_stage == TE_WAIT || pTurnEngine->turn_stage == TE_MOVEMENT )
       return;
   }