1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00

Fix #17866: Wrong Soft Guest Cap at start of new game (#17869)

* Change _suggestedGuestMaximum initalization

* Update initialization method

* Add changelog

* Update changelog entry
This commit is contained in:
Henry Cheng
2022-09-02 02:27:13 -05:00
committed by GitHub
parent f10fdda5ec
commit b6ceb1afce
2 changed files with 2 additions and 0 deletions

View File

@@ -50,6 +50,7 @@
- Fix: [#17897] Guest can get stuck on tiles with construction rights outside the park.
- Fix: [#17905] The chain button in the map window is enabled for rectangular maps when (re)opened.
- Fix: [#17931] The in-game command count_objects crashes the game.
- Fix: [#17866] [Plugin] Wrong Soft Guest Cap at start of new game
0.4.1 (2022-07-04)
------------------------------------------------------------------------

View File

@@ -264,6 +264,7 @@ void Park::Initialise()
gParkRating = 0;
_guestGenerationProbability = 0;
gTotalRideValueForMoney = 0;
_suggestedGuestMaximum = 0;
gResearchLastItem = std::nullopt;
gMarketingCampaigns.clear();