mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +01:00
RideCreateAction: use constant instead of magic number
This commit is contained in:
@@ -275,7 +275,7 @@ GameActions::Result RideCreateAction::Execute() const
|
||||
ride->buildDate = GetDate().GetMonthsElapsed();
|
||||
ride->musicTuneId = kTuneIDNull;
|
||||
|
||||
ride->breakdownReason = 255;
|
||||
ride->breakdownReason = BREAKDOWN_NONE;
|
||||
ride->upkeepCost = kMoney64Undefined;
|
||||
ride->reliability = kRideInitialReliability;
|
||||
ride->unreliabilityFactor = 1;
|
||||
|
||||
Reference in New Issue
Block a user