mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 08:14:38 +01:00
Remove the use of shared_ptr for the Context (#24404)
* Replace shared_ptr with unique_ptr for Context systems, return refs * Fix all the users * clang-format fix * Fix linux builds
This commit is contained in:
@@ -111,7 +111,7 @@ namespace OpenRCT2
|
||||
|
||||
if (GameIsNotPaused() && gPreviewingTitleSequenceInGame)
|
||||
{
|
||||
auto player = GetContext()->GetUiContext()->GetTitleSequencePlayer();
|
||||
auto player = GetContext()->GetUiContext().GetTitleSequencePlayer();
|
||||
if (player != nullptr)
|
||||
{
|
||||
player->Update();
|
||||
|
||||
Reference in New Issue
Block a user