mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 12:33:17 +01:00
Revert name change of additional max height
This commit is contained in:
@@ -101,7 +101,7 @@ typedef struct {
|
||||
sint8 excitement_multipler; // 0x1B2
|
||||
sint8 intensity_multipler; // 0x1B3
|
||||
sint8 nausea_multipler; // 0x1B4
|
||||
uint8 additional_max_height; // 0x1B5
|
||||
uint8 max_height; // 0x1B5
|
||||
union {
|
||||
uint64 enabledTrackPieces; // 0x1B6
|
||||
struct {
|
||||
|
||||
@@ -4241,7 +4241,7 @@ static money32 track_place(int rideIndex, int type, int originX, int originY, in
|
||||
if (!gCheatsDisableSupportLimits){
|
||||
int ride_height = clearanceZ - mapElement->base_height;
|
||||
if (ride_height >= 0) {
|
||||
int maxHeight = rideEntry->additional_max_height;
|
||||
int maxHeight = rideEntry->max_height;
|
||||
if (maxHeight == 0) {
|
||||
maxHeight = RCT2_GLOBAL(0x0097D218 + (ride->type * 8), uint8);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user