Replace TrackElemType::Booster reference with TrackTypeIsBooster() (#21044)

This commit is contained in:
spacek531 2023-12-06 03:18:41 -08:00 committed by GitHub
parent 004592b587
commit 6162ff9b00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7679,7 +7679,7 @@ Loc6DAEB9:
}
}
}
else if (trackType == TrackElemType::Booster)
else if (TrackTypeIsBooster(trackType))
{
auto boosterSpeed = GetBoosterSpeed(curRide.type, (brake_speed << 16));
if (boosterSpeed > _vehicleVelocityF64E08)