mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix build
This commit is contained in:
@@ -324,9 +324,13 @@ CInfoBoxPopup::CInfoBoxPopup(Point position, const CGGarrison * garr)
|
|||||||
OBJECT_CONSTRUCTION;
|
OBJECT_CONSTRUCTION;
|
||||||
|
|
||||||
if(settings["general"]["enableUiEnhancements"].Bool())
|
if(settings["general"]["enableUiEnhancements"].Bool())
|
||||||
|
{
|
||||||
tooltip = std::make_shared<CGarrisonTooltip>(Point(9, 10), iah);
|
tooltip = std::make_shared<CGarrisonTooltip>(Point(9, 10), iah);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
tooltip = std::make_shared<CTownTooltip>(Point(9, 10), iah);
|
tooltip = std::make_shared<CTownTooltip>(Point(9, 10), iah);
|
||||||
|
}
|
||||||
|
|
||||||
addUsedEvents(DRAG_POPUP);
|
addUsedEvents(DRAG_POPUP);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user