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:
@ -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) };
|
||||
}
|
||||
|
Reference in New Issue
Block a user