make options window centred

This commit is contained in:
IntelOrca committed 2015-02-20 02:19:18 +00:00
1 parent f8836cf0a3
commit f172b26291
2 files changed
+1 -3

No files matched your search

-2
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();
+1 -1
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) |