1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

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

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