Fix #3302. Max ride mode tweak has been broken since a refactor.

This commit is contained in:
duncanspumpkin 2016-04-14 20:27:09 +01:00
parent a35b774004
commit 51ba0b2e1d
1 changed files with 1 additions and 1 deletions

View File

@ -2819,7 +2819,7 @@ static void window_ride_mode_tweak_increase(rct_window *w)
uint8 increment = ride->mode == RIDE_MODE_BUMPERCAR ? 10 : 1;
uint8 newValue = ride->operation_option + increment;
if (newValue < maxValue) {
if (newValue <= maxValue) {
window_ride_mode_tweak_set(w, newValue);
}
}