Allow editing of indestructible rides when the ‘make all destructible’ cheat is enabled

This commit is contained in:
mix authored and GitHub committed 2025-02-22 17:55:14 +01:00
1 parent cb3dd87943
commit a69390cde4
3 files changed
+3 -2

No files matched your search

+1
View File
@@ -4,6 +4,7 @@
- Feature: [#23759] Add see-through option to the “Cut-away View“.
- Improved: [#23677] Building new ride track now inherits the colour scheme from the previous piece.
- Improved: [#23720] Text fields now allow cutting to clipboard (Ctrl+X) in addition to copy and paste.
- Improved: [#23875] Rides forbidden to be modified or destroyed can now be edited with the All destructible cheat.
- Fix: [#1972, #11679] Vehicles passing by toilets can cause them to glitch (original bug).
- Fix: [#9999, #10000, #10001, #10002, #10003] Truncated scenario strings when using Catalan, Czech, Japanese, Polish or Russian.
- Fix: [#14486] Guests will fall through upwards sloped paths when making their way through a park entrance or ride exit (original bug).
+1 -1
View File
@@ -49,7 +49,7 @@ using namespace OpenRCT2;
// It is used for making sure only compatible builds get connected, even within
// single OpenRCT2 version.
constexpr uint8_t kNetworkStreamVersion = 2;
constexpr uint8_t kNetworkStreamVersion = 3;
const std::string kNetworkStreamID = std::string(kOpenRCT2Version) + "-" + std::to_string(kNetworkStreamVersion);
+1 -1
View File
@@ -966,7 +966,7 @@ bool RideModify(const CoordsXYE& input)
if (rideEntry == nullptr || !ride_check_if_construction_allowed(*ride))
return false;
if (ride->lifecycle_flags & RIDE_LIFECYCLE_INDESTRUCTIBLE)
if (ride->lifecycle_flags & RIDE_LIFECYCLE_INDESTRUCTIBLE && !GetGameState().Cheats.makeAllDestructible)
{
Formatter ft;
ride->FormatNameTo(ft);