mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +01:00
Refactor game_init_all into GameState::InitAll.
This commit is contained in:
@@ -449,9 +449,10 @@ namespace OpenRCT2
|
||||
util_srand((uint32)time(nullptr));
|
||||
input_reset_place_obj_modifier();
|
||||
viewport_init_all();
|
||||
game_init_all(150);
|
||||
|
||||
_gameState = std::make_unique<GameState>();
|
||||
_gameState->InitAll(150);
|
||||
|
||||
_titleScreen = std::make_unique<TitleScreen>(_gameState.get());
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user