mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 18:31:59 -05:00
fix #3858: Tooltip showed when hovering over title logo
This commit is contained in:
parent
735062396c
commit
bd6986cd3f
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue