mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 20:13:07 +01:00
Implement max people on maze properly
Last year the limit for max people on maze was raised using a hack. Since the responsible table has been implemented since then, remove the hack and update the value in the table.
This commit is contained in:
committed by
Ted John
parent
e930a09f0b
commit
c522f9cfd3
@@ -1857,7 +1857,7 @@ const rct_ride_properties RideProperties[91] = {
|
||||
10, 12, 30, 25}, // RIDE_TYPE_CORKSCREW_ROLLER_COASTER
|
||||
{RIDE_TYPE_FLAG_HAS_TRACK_COLOUR_SUPPORTS | RIDE_TYPE_FLAG_3 | RIDE_TYPE_FLAG_NO_TEST_MODE | RIDE_TYPE_FLAG_13 |
|
||||
RIDE_TYPE_FLAG_18 | RIDE_TYPE_FLAG_IN_RIDE | RIDE_TYPE_FLAG_HAS_TRACK,
|
||||
1, 16, 0, 0}, // RIDE_TYPE_MAZE
|
||||
1, 64, 0, 0}, // RIDE_TYPE_MAZE
|
||||
{RIDE_TYPE_FLAG_HAS_TRACK_COLOUR_MAIN | RIDE_TYPE_FLAG_HAS_TRACK_COLOUR_ADDITIONAL |
|
||||
RIDE_TYPE_FLAG_HAS_TRACK_COLOUR_SUPPORTS | RIDE_TYPE_FLAG_3 | RIDE_TYPE_FLAG_CANNOT_HAVE_GAPS |
|
||||
RIDE_TYPE_FLAG_NO_TEST_MODE | RIDE_TYPE_FLAG_13 | RIDE_TYPE_FLAG_HAS_NO_TRACK | RIDE_TYPE_FLAG_18 |
|
||||
|
||||
@@ -3138,10 +3138,7 @@ static void window_ride_mode_tweak_increase(rct_window *w)
|
||||
|
||||
uint8 maxValue = RideProperties[ride->type].max_value;
|
||||
uint8 minValue = gCheatsFastLiftHill ? 0 : RideProperties[ride->type].min_value;
|
||||
if (ride->mode == RIDE_MODE_MAZE) {
|
||||
// Allow 64 people in mazes under non-cheat settings. The old maximum of 16 was too little for even moderately big mazes.
|
||||
maxValue = 64;
|
||||
}
|
||||
|
||||
if (gCheatsFastLiftHill) {
|
||||
maxValue = 255;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user