Fix #13292: Impossible excitement rating requirements

Incorrect argument was used when drawing the minimum excitement rating in the Objective Selection window.
This commit is contained in:
evilclownattack 2020-10-28 18:55:29 -04:00 committed by GitHub
parent 390adaaaf9
commit 3e7ff12a72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View File

@ -161,6 +161,7 @@ The following people are not part of the development team, but have been contrib
* Stephan Spengler (Sadret)
* Roger Seekell (rpstester)
* Ben Johnston (gsckoco)
* (evilclownattack)
## Toolchain
* (Balletie) - macOS

View File

@ -42,6 +42,7 @@
- Fix: [#13226, #7280] No error is shown when attempting to load a corrupted save.
- Fix: [#13266] Plugin API: Deleting key of sharedStorage not working.
- Fix: [#13278] Desync caused by ghost tiles changing the ride mode.
- Fix: [#13292] Impossible excitement rating requirements with finish building 5 coasters goal
- Improved: [#13023] Made add_news_item console command last argument, assoc, optional.
- Improved: [#13098] Improvements to the maze construction window user interface
- Improved: [#13125] Selecting the RCT2 files now uses localised dialogs.

View File

@ -854,6 +854,10 @@ static void window_editor_objective_options_main_paint(rct_window* w, rct_drawpi
stringId = STR_WINDOW_OBJECTIVE_VALUE_LENGTH;
arg = gScenarioObjective.MinimumLength;
break;
case OBJECTIVE_FINISH_5_ROLLERCOASTERS:
stringId = STR_WINDOW_OBJECTIVE_VALUE_RATING;
arg = gScenarioObjective.MinimumExcitement;
break;
default:
stringId = STR_WINDOW_OBJECTIVE_VALUE_RATING;
arg = gScenarioObjective.Currency;