mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Ensure ride->inspection_station is set in ride_prepare_breakdown (#10245)
This commit is contained in:
committed by
GitHub
parent
35bbf6a166
commit
2ef77414d5
@@ -2430,6 +2430,7 @@ void ride_prepare_breakdown(Ride* ride, int32_t breakdownReason)
|
||||
ride->breakdown_reason_pending = breakdownReason;
|
||||
ride->breakdown_sound_modifier = 0;
|
||||
ride->not_fixed_timeout = 0;
|
||||
ride->inspection_station = 0; // ensure set to something.
|
||||
|
||||
switch (breakdownReason)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user