diff --git a/client/BattleInterface/CBattleInterface.cpp b/client/BattleInterface/CBattleInterface.cpp index 5014f1e25..4dcc26d16 100644 --- a/client/BattleInterface/CBattleInterface.cpp +++ b/client/BattleInterface/CBattleInterface.cpp @@ -3072,6 +3072,10 @@ static bool immobile(const CStack *s) void CBattleInterface::bTacticNextStack() { + //no switching stacks when the current one is moving + if(animsAreDisplayed.get()) + return; + TStacks stacksOfMine = tacticianInterface->cb->battleGetStacks(CBattleCallback::ONLY_MINE); stacksOfMine.erase(std::remove_if(stacksOfMine.begin(), stacksOfMine.end(), &immobile), stacksOfMine.end()); TStacks::iterator it = vstd::find(stacksOfMine, activeStack);