diff Player.cpp @ 1340:22cb507446a4

turnengine refactoring continue
author Gloval
date Sat, 06 Jul 2013 00:29:29 +0400
parents 1e35cfed7928
children 84db43e7db93
line wrap: on
line diff
--- a/Player.cpp	Fri Jul 05 17:37:30 2013 +0600
+++ b/Player.cpp	Sat Jul 06 00:29:29 2013 +0400
@@ -6518,7 +6518,7 @@
     thisb = this;
     v3 = &pParty->pPlayers[player_num-1];
     v73 = 1;
-    if ( pParty->bTurnBasedModeOn == 1 && (pTurnEngine->field_4 == 1 || pTurnEngine->field_4 == 3) )
+    if ( pParty->bTurnBasedModeOn == 1 && (pTurnEngine->turn_stage == 1 || pTurnEngine->turn_stage == 3) )
         return;
     if ( pItemsTable->pItems[pParty->pPickedItem.uItemID].uEquipType == EQUIP_REAGENT )
         {