mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #888 from duncanspumpkin/fix_886
Fix certain rides tracks not being savable
This commit is contained in:
commit
1c382b3ea1
|
@ -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