mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-01 11:15:13 +01:00
Allow editing of indestructible rides when the ‘make all destructible’ cheat is enabled
This commit is contained in:
@@ -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).
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user