mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 07:14:31 +01:00
Properly check separate flags when scanning objects and building track list, fixes #3681
This commit is contained in:
committed by
Michael Steenbeek
parent
53b023612d
commit
ab75b8db84
@@ -405,8 +405,7 @@ void RideObject::SetRepositoryItem(ObjectRepositoryItem * item) const
|
||||
}
|
||||
|
||||
uint8 flags = 0;
|
||||
if ((_legacyType.flags & RIDE_ENTRY_FLAG_SEPARATE_RIDE_NAME) &&
|
||||
!rideTypeShouldLoseSeparateFlag(&_legacyType))
|
||||
if (_legacyType.flags & RIDE_ENTRY_FLAG_SEPARATE_RIDE)
|
||||
{
|
||||
flags |= ORI_RIDE_FLAG_SEPARATE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user