mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-01 19:25:12 +01:00
Use consistent left-shift notation for widgets (#14956)
This commit is contained in:
@@ -101,10 +101,10 @@ rct_window* window_server_start_open()
|
||||
window_server_start_widgets[WIDX_PASSWORD_INPUT].string = _password;
|
||||
window->widgets = window_server_start_widgets;
|
||||
window->enabled_widgets
|
||||
= ((1 << WIDX_CLOSE) | (1 << WIDX_PORT_INPUT) | (1 << WIDX_NAME_INPUT) | (1 << WIDX_DESCRIPTION_INPUT)
|
||||
| (1 << WIDX_GREETING_INPUT) | (1 << WIDX_PASSWORD_INPUT) | (1 << WIDX_MAXPLAYERS) | (1 << WIDX_MAXPLAYERS_INCREASE)
|
||||
| (1 << WIDX_MAXPLAYERS_DECREASE) | (1 << WIDX_ADVERTISE_CHECKBOX) | (1 << WIDX_START_SERVER)
|
||||
| (1 << WIDX_LOAD_SERVER));
|
||||
= ((1ULL << WIDX_CLOSE) | (1ULL << WIDX_PORT_INPUT) | (1ULL << WIDX_NAME_INPUT) | (1ULL << WIDX_DESCRIPTION_INPUT)
|
||||
| (1ULL << WIDX_GREETING_INPUT) | (1ULL << WIDX_PASSWORD_INPUT) | (1ULL << WIDX_MAXPLAYERS)
|
||||
| (1ULL << WIDX_MAXPLAYERS_INCREASE) | (1ULL << WIDX_MAXPLAYERS_DECREASE) | (1ULL << WIDX_ADVERTISE_CHECKBOX)
|
||||
| (1ULL << WIDX_START_SERVER) | (1ULL << WIDX_LOAD_SERVER));
|
||||
WindowInitScrollWidgets(window);
|
||||
window->no_list_items = 0;
|
||||
window->selected_list_item = -1;
|
||||
|
||||
Reference in New Issue
Block a user