1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 08:14:38 +01:00

Remove flag RIDE_TYPE_FLAG_HAS_NO_TRACK (#20239) (#20249)

* Remove flag RIDE_TYPE_FLAG_HAS_NO_TRACK (#20239)

* Fix a couple of logical conditions in entity/Staff.cpp

* Bump NETWORK_STREAM_VERSION and add myself to contributors.md
This commit is contained in:
Tiago A. Reul
2023-05-26 08:08:28 -03:00
committed by GitHub
parent 66ae20b47b
commit 93c1a9724e
35 changed files with 115 additions and 93 deletions

View File

@@ -2593,7 +2593,7 @@ static StationIndexWithMessage RideModeCheckStationPresent(const Ride& ride)
if (stationIndex.IsNull())
{
const auto& rtd = ride.GetRideTypeDescriptor();
if (rtd.HasFlag(RIDE_TYPE_FLAG_HAS_NO_TRACK))
if (!rtd.HasFlag(RIDE_TYPE_FLAG_HAS_TRACK))
return { StationIndex::GetNull(), STR_NOT_YET_CONSTRUCTED };
if (rtd.HasFlag(RIDE_TYPE_FLAG_IS_MAZE))