mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-04 13:42:55 +01:00
make options window centred
This commit is contained in:
@@ -266,8 +266,6 @@ static void DrawOpenRCT2(int x, int y)
|
||||
void game_handle_input();
|
||||
void title_update()
|
||||
{
|
||||
int tmp;
|
||||
|
||||
screenshot_check();
|
||||
title_handle_keyboard_input();
|
||||
|
||||
|
||||
@@ -218,7 +218,7 @@ void window_options_open()
|
||||
if (w != NULL)
|
||||
return;
|
||||
|
||||
w = window_create_auto_pos(WW, WH, (uint32*)window_options_events, WC_OPTIONS, 0);
|
||||
w = window_create_centred(WW, WH, (uint32*)window_options_events, WC_OPTIONS, 0);
|
||||
w->widgets = window_options_widgets;
|
||||
w->enabled_widgets =
|
||||
(1ULL << WIDX_CLOSE) |
|
||||
|
||||
Reference in New Issue
Block a user