1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Remove gMapTooltip format args global (#12971)

Fix mistake
This commit is contained in:
Duncan
2020-09-29 01:45:28 +01:00
committed by GitHub
parent a0341a7aeb
commit 3c8adb1fc1
12 changed files with 85 additions and 29 deletions

View File

@@ -472,6 +472,16 @@ public:
case INTENT_ACTION_TRACK_DESIGN_RESTORE_PROVISIONAL:
TrackPlaceRestoreProvisional();
break;
case INTENT_ACTION_SET_MAP_TOOLTIP:
{
auto ft = static_cast<Formatter*>(intent.GetPointerExtra(INTENT_EXTRA_FORMATTER));
if (ft != nullptr)
{
SetMapTooltip(*ft);
}
break;
}
}
}