From f2b70b74aa3983f085ed6149f82d667854e7d89a Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Thu, 14 Jan 2016 17:47:06 +0000 Subject: [PATCH] Fix incorrect common format offset causing issues when changing colour scheme --- src/windows/ride.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/ride.c b/src/windows/ride.c index c8c7473bf7..41e1d0a242 100644 --- a/src/windows/ride.c +++ b/src/windows/ride.c @@ -4196,7 +4196,7 @@ static void window_ride_colour_invalidate(rct_window *w) window_ride_colour_widgets[WIDX_VEHICLE_ADDITIONAL_COLOUR_2].type = WWT_EMPTY; } - RCT2_GLOBAL(RCT2_ADDRESS_COMMON_FORMAT_ARGS + 140, uint16) = STR_MAIN_COLOUR_SCHEME + colourScheme; + RCT2_GLOBAL(RCT2_ADDRESS_COMMON_FORMAT_ARGS + 14, uint16) = STR_MAIN_COLOUR_SCHEME + colourScheme; window_ride_anchor_border_widgets(w); window_align_tabs(w, WIDX_TAB_1, WIDX_TAB_10);