mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-15 11:46:56 +02:00
Fix visibility of creature amount label after casting spell before turn
This commit is contained in:
parent
5b812649ee
commit
5be4f6ec2f
@ -235,6 +235,9 @@ void BattleStacksController::setActiveStack(const CStack *stack)
|
|||||||
stackAnimation[activeStack->unitId()]->setBorderColor(AnimationControls::getGoldBorder());
|
stackAnimation[activeStack->unitId()]->setBorderColor(AnimationControls::getGoldBorder());
|
||||||
|
|
||||||
owner.windowObject->blockUI(activeStack == nullptr);
|
owner.windowObject->blockUI(activeStack == nullptr);
|
||||||
|
|
||||||
|
if (activeStack)
|
||||||
|
stackAmountBoxHidden.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool BattleStacksController::stackNeedsAmountBox(const CStack * stack) const
|
bool BattleStacksController::stackNeedsAmountBox(const CStack * stack) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user