Explorar el Código

Fix visibility of creature amount label after casting spell before turn

Ivan Savenko hace 2 años
padre
commit
5be4f6ec2f
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      client/battle/BattleStacksController.cpp

+ 3 - 0
client/battle/BattleStacksController.cpp

@@ -235,6 +235,9 @@ void BattleStacksController::setActiveStack(const CStack *stack)
 		stackAnimation[activeStack->unitId()]->setBorderColor(AnimationControls::getGoldBorder());
 
 	owner.windowObject->blockUI(activeStack == nullptr);
+
+	if (activeStack)
+		stackAmountBoxHidden.clear();
 }
 
 bool BattleStacksController::stackNeedsAmountBox(const CStack * stack) const