Fix #8142: Reliability of unbreakable rides can go below 100%

This commit is contained in:
Felix Pelletier authored and Michael Steenbeek committed 2018-11-02 09:04:27 +01:00
1 parent f8add7f62e
commit 0cd7f1e07c
5 files changed
+29 -7

No files matched your search

+1 -1
View File
@@ -138,7 +138,7 @@ rct_ride_entry* get_ride_entry(int index)
return gRideEntries[index];
}
rct_ride_entry* get_ride_entry_by_ride(Ride* ride)
rct_ride_entry* get_ride_entry_by_ride(const Ride* ride)
{
rct_ride_entry* type = get_ride_entry(ride->subtype);
if (type == nullptr)