Fix messages [ci skip]

Co-authored-by: pizza2004 <chad@neejean.org>
This commit is contained in:
Michael Steenbeekandpizza2004 authored and GitHub committed 2022-02-12 12:28:37 +01:00
1 parent 635a6507eb
commit f0ee220ec6
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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)
{
+1 -1
View File
@@ -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;
}