diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 7717849bdf..ae42c9592a 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -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) diff --git a/src/openrct2/ride/ride.c b/src/openrct2/ride/ride.c index b03c454854..b10c492ef6 100644 --- a/src/openrct2/ride/ride.c +++ b/src/openrct2/ride/ride.c @@ -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);