mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix certain rides not being savable
This commit is contained in:
parent
21a53841b5
commit
e0d5979e4c
|
@ -1289,7 +1289,7 @@ int save_track_design(uint8 rideIndex){
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (!(RCT2_ADDRESS(0x0097CF40, uint32)[ride->type] & 0x10000000)){
|
||||
if (!(RCT2_ADDRESS(RCT2_ADDRESS_RIDE_FLAGS, uint32)[ride->type * 2] & 0x10000000)){
|
||||
window_error_open(3346, RCT2_GLOBAL(0x141E9AC, rct_string_id));
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue