Browse Source

Fix tower shooters animation updates

Ivan Savenko 2 năm trước cách đây
mục cha
commit
867c5355da
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;