1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-04-13 11:40:38 +02:00

Fix visibility of creature amount label after casting spell before turn

This commit is contained in:
Ivan Savenko 2023-07-22 22:49:48 +03:00
parent 5b812649ee
commit 5be4f6ec2f

View File

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