mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 00:04:43 +01:00
Use reference types in TitleSequencePlayer
This commit is contained in:
@@ -453,7 +453,7 @@ namespace OpenRCT2
|
||||
_gameState = std::make_unique<GameState>();
|
||||
_gameState->InitAll(150);
|
||||
|
||||
_titleScreen = std::make_unique<TitleScreen>(_gameState.get());
|
||||
_titleScreen = std::make_unique<TitleScreen>(*_gameState);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user