From 71b6389ec73e25e1f50b407b409a2dbc31b23381 Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Tue, 19 Aug 2014 20:54:58 +0100 Subject: [PATCH] Fix 1 pixel width ride_window --- src/window_new_ride.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window_new_ride.c b/src/window_new_ride.c index 79137b0b29..ee82cd2f73 100644 --- a/src/window_new_ride.c +++ b/src/window_new_ride.c @@ -121,6 +121,6 @@ void window_new_ride_open() w->var_482 = RCT2_GLOBAL(0x00F43523, sint16); w->width = 1; - RCT2_CALLPROC_EBPSAFE(0x006B3DF1); // initialise window size and widgets - RCT2_CALLPROC_EBPSAFE(0x006B7220); + RCT2_CALLPROC_X(0x006B3DF1, 0, 0, 0, 0, (int)w, 0, 0); // initialise window size and widgets + RCT2_CALLPROC_X(0x006B7220, 0, 0, 0, 0, (int)w, 0, 0); } \ No newline at end of file