1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Fix #13465: Creating a scenario based on a won save game results in a scenario that’s instantly won

This commit is contained in:
ocalhoun6
2021-08-04 04:31:53 -07:00
committed by GitHub
parent 2beed229a9
commit 8a09406b64
3 changed files with 6 additions and 0 deletions

View File

@@ -175,6 +175,7 @@ The following people are not part of the development team, but have been contrib
* Struan Clark (xtruan)
* Kane Shaw (seifer7)
* Saad Rehman (SaadRehmanCS)
* (ocalhoun6)
## Toolchain
* (Balletie) - macOS

View File

@@ -2,6 +2,7 @@
------------------------------------------------------------------------
- Feature: [#15084] [Plugin] Add "vehicle.crash" hook
- Feature: [#15143] Added a shortcut key for Giant Screenshot.
- Fix: [#13465] Creating a scenario based on a won save game results in a scenario thats instantly won.
- Fix: [#14316] Closing the Track Designs Manager window causes broken state.
- Fix: [#14667] “Extreme Hawaiian Island” has unpurchaseable land tiles (original bug).
- Fix: [#15096] Crash when placing entrances in the scenario editor near the map corner.

View File

@@ -134,6 +134,10 @@ namespace Editor
climate_reset(gClimate);
// Clear the scenario completion status
gParkFlags &= ~PARK_FLAGS_SCENARIO_COMPLETE_NAME_INPUT;
gScenarioCompletedCompanyValue = MONEY64_UNDEFINED;
gScreenFlags = SCREEN_FLAGS_SCENARIO_EDITOR;
gEditorStep = EditorStep::ObjectiveSelection;
gScenarioCategory = SCENARIO_CATEGORY_OTHER;