From 87d855b95dd8294115dade6a859ad7ea9c7ea0c9 Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Mon, 19 May 2014 19:14:29 +0100 Subject: [PATCH] Fixed bug due to options window calling update on WM_INVALIDATE --- src/window_options.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/window_options.c b/src/window_options.c index 20b7dbf3b6..49f4285b81 100644 --- a/src/window_options.c +++ b/src/window_options.c @@ -460,6 +460,9 @@ static void window_options_dropdown() */ static void window_options_update(rct_window *w) { + //Has use asm verison incase called by WM_INVALIDATE + __asm mov w, esi + sint32 format_args = RCT2_GLOBAL(0x009AF280, sint32); // sound devices