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:
parent
6981848288
commit
867c5355da
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user