1
0
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:
IntelOrca
2015-02-20 02:19:18 +00:00
parent f8836cf0a3
commit f172b26291
2 changed files with 1 additions and 3 deletions

View File

@@ -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();

View File

@@ -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) |