1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +02:00

Give thicker frame to highlighted queue boxes

This commit is contained in:
Dydzio
2023-01-23 12:03:07 +01:00
parent aa18118df0
commit 4a23f93754
4 changed files with 19 additions and 15 deletions

View File

@ -898,7 +898,7 @@ std::vector<const CStack *> BattleStacksController::selectHoveredStacks()
return {};
auto hoveredQueueUnitId = owner.windowObject->getQueueHoveredUnitId();
if(hoveredQueueUnitId.has_value())
if(hoveredQueueUnitId.is_initialized())
{
return { owner.curInt->cb->battleGetStackByUnitId(hoveredQueueUnitId.value(), true) };
}