diff --git a/src/window.c b/src/window.c index 1feb9146e1..d7fa7cd63f 100644 --- a/src/window.c +++ b/src/window.c @@ -377,9 +377,11 @@ rct_window *window_create(int x, int y, int width, int height, uint32 *event_han w->var_4B9 = -1; w->flags = flags; - // Play sound - if (!(flags & (WF_STICK_TO_BACK | WF_STICK_TO_FRONT))) + // Play sounds and flash the window + if (!(flags & (WF_STICK_TO_BACK | WF_STICK_TO_FRONT))){ + w->flags |= WF_WHITE_BORDER_MASK; sound_play_panned(SOUND_WINDOW_OPEN, x + (width / 2)); + } w->number = 0; w->x = x; @@ -1360,4 +1362,4 @@ void window_resize_gui(int width, int height) exitWind->x = width - 40; exitWind->y = height - 64; } -} \ No newline at end of file +} diff --git a/src/window_guest_list.c b/src/window_guest_list.c index 47c825e04e..3bfa1befa9 100644 --- a/src/window_guest_list.c +++ b/src/window_guest_list.c @@ -176,7 +176,7 @@ void window_guest_list_open() window->min_height = 330; window->max_width = 500; window->max_height = 450; - window->flags = WF_RESIZABLE; + window->flags |= WF_RESIZABLE; window->colours[0] = 1; window->colours[1] = 15; window->colours[2] = 15; diff --git a/src/window_ride_list.c b/src/window_ride_list.c index 84902b4d02..de14dd20ad 100644 --- a/src/window_ride_list.c +++ b/src/window_ride_list.c @@ -160,7 +160,7 @@ void window_ride_list_open() window->min_height = 240; window->max_width = 400; window->max_height = 450; - window->flags = WF_RESIZABLE; + window->flags |= WF_RESIZABLE; window->colours[0] = 1; window->colours[1] = 26; window->colours[2] = 26;