Fix certain rides not being savable

This commit is contained in:
Duncan Frost 2015-02-28 16:04:31 +00:00
parent 21a53841b5
commit e0d5979e4c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}