Fix build

This commit is contained in:
George King
2025-09-04 13:20:47 +02:00
committed by GitHub
parent bc3b77684f
commit c9e814ac21
+6 -2
View File
@@ -323,10 +323,14 @@ CInfoBoxPopup::CInfoBoxPopup(Point position, const CGGarrison * garr)
OBJECT_CONSTRUCTION;
if(settings["general"]["enableUiEnhancements"].Bool())
if(settings["general"]["enableUiEnhancements"].Bool())
{
tooltip = std::make_shared<CGarrisonTooltip>(Point(9, 10), iah);
else
}
else
{
tooltip = std::make_shared<CTownTooltip>(Point(9, 10), iah);
}
addUsedEvents(DRAG_POPUP);