mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 09:44:52 +01:00
Move gClimate to GameState_t
This commit is contained in:
@@ -313,6 +313,8 @@ namespace Editor
|
||||
staff->SetName({});
|
||||
}
|
||||
|
||||
auto& gameState = GetGameState();
|
||||
|
||||
ResetAllEntities();
|
||||
UpdateConsolidatedPatrolAreas();
|
||||
gNumGuestsInPark = 0;
|
||||
@@ -346,7 +348,7 @@ namespace Editor
|
||||
gBankLoanInterestRate = std::clamp<uint8_t>(gBankLoanInterestRate, 5, MaxBankLoanInterestRate);
|
||||
}
|
||||
|
||||
ClimateReset(gClimate);
|
||||
ClimateReset(gameState.Climate);
|
||||
|
||||
News::InitQueue();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user