Преглед изворни кода

Fix tower shooters animation updates

Ivan Savenko пре 2 година
родитељ
комит
867c5355da
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      client/battle/BattleStacksController.cpp

+ 1 - 1
client/battle/BattleStacksController.cpp

@@ -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;