1
0
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:
Gymnasiast
2017-05-20 23:59:51 +02:00
committed by Michael Steenbeek
parent 53b023612d
commit ab75b8db84
3 changed files with 48 additions and 6 deletions

View File

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