1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Fix tower shooters animation updates

This commit is contained in:
Ivan Savenko 2023-05-20 13:11:52 +03:00
parent 6981848288
commit 867c5355da

View File

@ -353,7 +353,7 @@ void BattleStacksController::initializeBattleAnimations()
void BattleStacksController::tickFrameBattleAnimations(uint32_t msPassed)
{
for (auto stack : owner.curInt->cb->battleGetAllStacks(false))
for (auto stack : owner.curInt->cb->battleGetAllStacks(true))
{
if (stackAnimation.find(stack->unitId()) == stackAnimation.end()) //e.g. for summoned but not yet handled stacks
continue;