mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 00:04:43 +01:00
Fix #5003: Able to remove entrance/exit of unedittable rides
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
- Fix: [#4951] Scenarios are not recorded as completed from a saved game.
|
||||
- Fix: [#4968] Completing a scenario does not save the name that is entered.
|
||||
- Fix: [#4996] Objects unloaded after loading landscape.
|
||||
- Fox: [#5003] Able to remove entrance/exit of unedittable rides (such as in Volcania).
|
||||
- Fix: [#5114] Some entertainer costumes never select-able.
|
||||
|
||||
0.0.5 (2016-12-27)
|
||||
|
||||
@@ -8371,6 +8371,11 @@ static money32 remove_ride_entrance_or_exit(sint16 x, sint16 y, uint8 rideIndex,
|
||||
return MONEY32_UNDEFINED;
|
||||
}
|
||||
|
||||
if (ride->lifecycle_flags & RIDE_LIFECYCLE_INDESTRUCTIBLE_TRACK) {
|
||||
gGameCommandErrorText = STR_NOT_ALLOWED_TO_MODIFY_STATION;
|
||||
return MONEY32_UNDEFINED;
|
||||
}
|
||||
|
||||
if (flags & GAME_COMMAND_FLAG_APPLY){
|
||||
ride_clear_for_construction(rideIndex);
|
||||
ride_remove_peeps(rideIndex);
|
||||
|
||||
Reference in New Issue
Block a user