Browse Source

Do not show selection highlight during stack teleporting

Ivan Savenko 2 years ago
parent
commit
397ea90040
1 changed files with 3 additions and 0 deletions
  1. 3 0
      client/battle/BattleStacksController.cpp

+ 3 - 0
client/battle/BattleStacksController.cpp

@@ -864,6 +864,9 @@ std::vector<const CStack *> BattleStacksController::selectHoveredStacks()
 	if (!activeStack)
 		return {};
 
+	if(owner.getAnimationCondition(EAnimationEvents::ACTION) == true)
+		return {};
+
 	auto hoveredHex = owner.fieldController->getHoveredHex();
 
 	if (!hoveredHex.isValid())