mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix dropdown mistake added note to prevent other people falling for it
This commit is contained in:
@@ -53,6 +53,7 @@ int _dropdown_highlighted_index;
|
||||
|
||||
uint16 gDropdownItemsFormat[64];
|
||||
sint64 gDropdownItemsArgs[64];
|
||||
// Replaces 0x009DED38
|
||||
uint32 gDropdownItemsChecked;
|
||||
|
||||
static void window_dropdown_emptysub() { }
|
||||
|
||||
@@ -281,7 +281,7 @@ static void window_guest_list_mousedown(int widgetIndex, rct_window*w, rct_widge
|
||||
gDropdownItemsFormat[i] = 1142;
|
||||
gDropdownItemsArgs[i] = STR_PAGE_1 + i;
|
||||
}
|
||||
RCT2_GLOBAL(0x009DED38, uint32) |= (1 << _window_guest_list_selected_view);
|
||||
gDropdownItemsChecked = (1 << _window_guest_list_selected_view);
|
||||
break;
|
||||
case WIDX_INFO_TYPE_DROPDOWN_BUTTON:
|
||||
widget = &w->widgets[widgetIndex - 1];
|
||||
@@ -300,7 +300,7 @@ static void window_guest_list_mousedown(int widgetIndex, rct_window*w, rct_widge
|
||||
gDropdownItemsFormat[i] = 1142;
|
||||
gDropdownItemsArgs[i] = STR_ACTIONS + i;
|
||||
}
|
||||
RCT2_GLOBAL(0x009DED38, uint32) |= (1 << _window_guest_list_selected_view);
|
||||
gDropdownItemsChecked = (1 << _window_guest_list_selected_view);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user