1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00

Fix messages [ci skip]

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

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 havent.
if (!ride_entry_is_invented(entryIndex) && !gCheatsIgnoreResearchStatus)
{

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;
}