Merge pull request #888 from duncanspumpkin/fix_886

Fix certain rides tracks not being savable
This commit is contained in:
Ted John 2015-02-28 16:43:34 +00:00
commit 1c382b3ea1
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;
}