fix #3858: Tooltip showed when hovering over title logo

This commit is contained in:
Ted John 2016-06-12 17:19:31 +01:00
parent 735062396c
commit bd6986cd3f

View file

@ -20,6 +20,10 @@
#include "../interface/widget.h"
#include "../interface/window.h"
static rct_widget window_title_logo_widgets[] = {
{ WIDGETS_END },
};
static void window_title_logo_paint(rct_window *w, rct_drawpixelinfo *dpi);
static rct_window_event_list window_title_logo_events = {
@ -80,7 +84,7 @@ void window_title_logo_open()
WC_TITLE_LOGO,
WF_STICK_TO_BACK | WF_TRANSPARENT
);
window->widgets = (rct_widget*)0x009A9658; // mouse move bug in original game, keep this address and no crash happens
window->widgets = window_title_logo_widgets;
window_init_scroll_widgets(window);
window->colours[0] = 129;
window->colours[1] = 129;