Fix flying RC track availability

This commit is contained in:
spacek531 2022-01-16 04:14:27 -08:00 committed by GitHub
parent f2f47aa492
commit ef77f9c2c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -322,7 +322,7 @@ bool RideTypeDescriptor::HasFlag(uint64_t flag) const
void RideTypeDescriptor::GetAvailableTrackPieces(RideTrackGroup& res) const
{
res |= EnabledTrackPieces;
res = EnabledTrackPieces;
if (gCheatsEnableAllDrawableTrackPieces)
res |= ExtraTrackPieces;
}