1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Fix giving commands in battles in hotseat

This commit is contained in:
Ivan Savenko 2023-08-24 13:35:06 +03:00
parent d83aa828f6
commit e40dc76304

View File

@ -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
{