mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 19:43:06 +01:00
committed by
GitHub
parent
635a6507eb
commit
f0ee220ec6
@@ -139,7 +139,7 @@ GameActions::Result TrackDesignAction::Execute() const
|
||||
auto entryIndex = objManager.GetLoadedObjectEntryIndex(_td.vehicle_object);
|
||||
if (entryIndex != OBJECT_ENTRY_INDEX_NULL)
|
||||
{
|
||||
// Force a fallback if the entry is not invented yet a track design using is selected.
|
||||
// Force a fallback if the entry is not invented yet a track design using it is selected.
|
||||
// This can happen on rides with multiple vehicles where some have been invented and some haven’t.
|
||||
if (!ride_entry_is_invented(entryIndex) && !gCheatsIgnoreResearchStatus)
|
||||
{
|
||||
|
||||
@@ -568,7 +568,7 @@ void ride_type_set_invented(uint32_t rideType)
|
||||
void ride_entry_set_invented(ObjectEntryIndex rideEntryIndex)
|
||||
{
|
||||
if (rideEntryIndex >= std::size(_researchedRideEntries))
|
||||
log_error("Try setting ride entry %u as invented", rideEntryIndex);
|
||||
log_error("Tried setting ride entry %u as invented", rideEntryIndex);
|
||||
else
|
||||
_researchedRideEntries[rideEntryIndex] = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user