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:
parent
d83aa828f6
commit
e40dc76304
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user