From 287b61439236790ca82984a3bbbe5612705af537 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Tue, 21 Oct 2014 11:07:11 +0100 Subject: [PATCH] fix window_map_tooltip using original window events instead of new --- src/windows/map_tooltip.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/windows/map_tooltip.c b/src/windows/map_tooltip.c index 8a559a3fec..6301b322cc 100644 --- a/src/windows/map_tooltip.c +++ b/src/windows/map_tooltip.c @@ -122,8 +122,10 @@ static void window_map_tooltip_open() w = window_find_by_class(WC_MAP_TOOLTIP); if (w == NULL) { - w = window_create(x, y, width, height, (uint32*)0x009A43D4, WC_MAP_TOOLTIP, WF_STICK_TO_FRONT | WF_TRANSPARENT | WF_5); - w->widgets = (rct_widget*)0x009DEEFC; + w = window_create( + x, y, width, height, (uint32*)window_map_tooltip_events, WC_MAP_TOOLTIP, WF_STICK_TO_FRONT | WF_TRANSPARENT | WF_5 + ); + w->widgets = window_map_tooltip_widgets; } else { window_invalidate(w); w->x = x;