mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
Refactor game_init_all into GameState::InitAll.
This commit is contained in:
@@ -130,7 +130,7 @@ void TitleScreen::Load()
|
||||
|
||||
network_close();
|
||||
audio_stop_all_music_and_sounds();
|
||||
game_init_all(150);
|
||||
GetContext()->GetGameState()->InitAll(150);
|
||||
viewport_init_all();
|
||||
context_open_window(WC_MAIN_WINDOW);
|
||||
CreateWindows();
|
||||
@@ -276,7 +276,7 @@ bool TitleScreen::TryLoadSequence(bool loadPreview)
|
||||
_loadedTitleSequenceId = SIZE_MAX;
|
||||
if (!loadPreview)
|
||||
{
|
||||
game_init_all(150);
|
||||
GetContext()->GetGameState()->InitAll(150);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user