diff --git a/src/openrct2-ui/title/TitleSequencePlayer.cpp b/src/openrct2-ui/title/TitleSequencePlayer.cpp index 9389ef5fa3..b66aa5b4fa 100644 --- a/src/openrct2-ui/title/TitleSequencePlayer.cpp +++ b/src/openrct2-ui/title/TitleSequencePlayer.cpp @@ -438,7 +438,7 @@ namespace OpenRCT2::Title auto intent = Intent(INTENT_ACTION_REFRESH_NEW_RIDES); ContextBroadcastIntent(&intent); Ui::Windows::WindowScenerySetDefaultPlacementConfiguration(); - News::InitQueue(); + News::InitQueue(gameState); LoadPalette(); gScreenAge = 0; gGamePaused = false; diff --git a/src/openrct2/Editor.cpp b/src/openrct2/Editor.cpp index 961b2d8fc7..5c75922e72 100644 --- a/src/openrct2/Editor.cpp +++ b/src/openrct2/Editor.cpp @@ -311,7 +311,7 @@ namespace OpenRCT2::Editor ClimateReset(); - News::InitQueue(); + News::InitQueue(gameState); } /** diff --git a/src/openrct2/GameState.cpp b/src/openrct2/GameState.cpp index 765a88510b..d5fda0177c 100644 --- a/src/openrct2/GameState.cpp +++ b/src/openrct2/GameState.cpp @@ -65,7 +65,7 @@ namespace OpenRCT2 UpdateConsolidatedPatrolAreas(); ResetDate(); ClimateReset(); - News::InitQueue(); + News::InitQueue(gameState); gInMapInitCode = false; diff --git a/src/openrct2/management/NewsItem.h b/src/openrct2/management/NewsItem.h index d907cbdf64..827b1457a4 100644 --- a/src/openrct2/management/NewsItem.h +++ b/src/openrct2/management/NewsItem.h @@ -299,7 +299,7 @@ namespace OpenRCT2::News News::ItemQueue Archived; }; - void InitQueue(); + void InitQueue(GameState_t& gameState); void UpdateCurrentItem(); void CloseCurrentItem(); diff --git a/src/openrct2/scenario/Scenario.cpp b/src/openrct2/scenario/Scenario.cpp index e99b358731..d15b42ebb4 100644 --- a/src/openrct2/scenario/Scenario.cpp +++ b/src/openrct2/scenario/Scenario.cpp @@ -103,7 +103,7 @@ void ScenarioReset(GameState_t& gameState) auto intent = Intent(INTENT_ACTION_SET_DEFAULT_SCENERY_CONFIG); ContextBroadcastIntent(&intent); - News::InitQueue(); + News::InitQueue(gameState); gameState.Park.Rating = Park::CalculateParkRating(); gameState.Park.Value = Park::CalculateParkValue();