Ver Fonte

Fix battle cursor after attack command

Ivan Savenko há 2 anos atrás
pai
commit
1e09c39c0e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      client/battle/BattleInterface.cpp

+ 1 - 1
client/battle/BattleInterface.cpp

@@ -257,7 +257,6 @@ void BattleInterface::giveCommand(EActionType action, BattleHex tile, si32 addit
 	ba->actionSubtype = additional;
 
 	sendCommand(ba, actor);
-	CCS->curh->set(Cursor::Combat::POINTER);
 }
 
 void BattleInterface::sendCommand(BattleAction *& command, const CStack * actor)
@@ -277,6 +276,7 @@ void BattleInterface::sendCommand(BattleAction *& command, const CStack * actor)
 		stacksController->setActiveStack(nullptr);
 		//next stack will be activated when action ends
 	}
+	CCS->curh->set(Cursor::Combat::POINTER);
 }
 
 const CGHeroInstance * BattleInterface::getActiveHero()