소스 검색

Fix visibility of creature amount label after casting spell before turn

Ivan Savenko 2 년 전
부모
커밋
5be4f6ec2f
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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