1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

Another money64 fix

This commit is contained in:
Ted John
2021-04-11 17:16:56 +01:00
committed by Gymnasiast
parent 407fafbced
commit 77a46a3d34

View File

@@ -497,9 +497,8 @@ static void window_track_place_paint(rct_window* w, rct_drawpixelinfo* dpi)
// Price
if (_window_track_place_last_cost != MONEY32_UNDEFINED && !(gParkFlags & PARK_FLAGS_NO_MONEY))
{
DrawTextBasic(
dpi, w->windowPos + ScreenCoordsXY{ 88, 94 }, STR_COST_LABEL, &_window_track_place_last_cost,
{ TextAlignment::CENTRE });
money64 value = _window_track_place_last_cost;
DrawTextBasic(dpi, w->windowPos + ScreenCoordsXY{ 88, 94 }, STR_COST_LABEL, &value, { TextAlignment::CENTRE });
}
}