mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix #12050: scenario options initial happiness value misplaced
Fix a mistake made in PR #11984.
This commit is contained in:
@@ -1043,8 +1043,7 @@ static void window_editor_scenario_options_guests_paint(rct_window* w, rct_drawp
|
||||
|
||||
// Guest initial happiness value
|
||||
screenCoords = w->windowPos
|
||||
+ ScreenCoordsXY{ w->widgets[WIDX_GUEST_INITIAL_HAPPINESS].left + 1,
|
||||
w->windowPos.y + w->widgets[WIDX_GUEST_INITIAL_HAPPINESS].top };
|
||||
+ ScreenCoordsXY{ w->widgets[WIDX_GUEST_INITIAL_HAPPINESS].left + 1, w->widgets[WIDX_GUEST_INITIAL_HAPPINESS].top };
|
||||
arg = (gGuestInitialHappiness * 100) / 255;
|
||||
gfx_draw_string_left(dpi, STR_PERCENT_FORMAT_LABEL, &arg, COLOUR_BLACK, screenCoords);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user