فهرست منبع

Fix giving commands in battles in hotseat

Ivan Savenko 2 سال پیش
والد
کامیت
e40dc76304
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      client/battle/BattleInterface.cpp

+ 1 - 1
client/battle/BattleInterface.cpp

@@ -265,7 +265,7 @@ void BattleInterface::sendCommand(BattleAction command, const CStack * actor)
 	{
 		logGlobal->trace("Setting command for %s", (actor ? actor->nodeName() : "hero"));
 		stacksController->setActiveStack(nullptr);
-		LOCPLINT->cb->battleMakeUnitAction(command);
+		curInt->cb->battleMakeUnitAction(command);
 	}
 	else
 	{