1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Fix tactics usage

This commit is contained in:
Ivan Savenko 2023-08-21 13:42:27 +03:00
parent 276c00b284
commit 8154e84825

View File

@ -513,6 +513,10 @@ void BattleFlowProcessor::onActionMade(const BattleAction &ba)
if(owner->checkBattleStateChanges())
return;
// tactics - next stack will be selected by player
if(battle->tacticDistance != 0)
return;
if (ba.isUnitAction())
{
assert(activeStack != nullptr);