1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 22:34:33 +01:00

Refactor game load functions, resolves #6011

This commit is contained in:
Richard Jenkins
2017-08-23 07:04:36 +01:00
committed by Michael Steenbeek
parent 9aeca18026
commit 71e580a58f
18 changed files with 81 additions and 201 deletions

View File

@@ -134,9 +134,7 @@ rct_window * window_title_menu_open()
static void window_title_menu_scenarioselect_callback(const utf8 *path)
{
ParkLoadResult * result = scenario_load_and_play_from_path(path);
handle_park_load_failure(result, path);
ParkLoadResult_Delete(result);
context_load_park_from_file(path);
}
static void window_title_menu_mouseup(rct_window *w, rct_widgetindex widgetIndex)