mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 15:54:31 +01:00
* 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:
@@ -1439,7 +1439,7 @@ VisibilityKind GetPaintStructVisibility(const PaintStruct* ps, uint32_t viewFlag
|
||||
break;
|
||||
|
||||
auto ride = vehicle->GetRide();
|
||||
if (ride != nullptr && ride->GetRideTypeDescriptor().HasFlag(RIDE_TYPE_FLAG_HAS_NO_TRACK))
|
||||
if (ride != nullptr && !ride->GetRideTypeDescriptor().HasFlag(RIDE_TYPE_FLAG_HAS_TRACK))
|
||||
{
|
||||
return (viewFlags & VIEWPORT_FLAG_INVISIBLE_RIDES) ? VisibilityKind::Hidden
|
||||
: VisibilityKind::Partial;
|
||||
|
||||
Reference in New Issue
Block a user