mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 17:54:50 +01:00
Refactor more constants to kConstant notation
This commit is contained in:
committed by
GitHub
parent
b9486b9eb7
commit
b0c99fcb6c
@@ -39,7 +39,7 @@ namespace OpenRCT2::Ui
|
||||
{
|
||||
StringId rideTypeString = kStringIdNone;
|
||||
auto rideTypeId = objective.RideId;
|
||||
if (rideTypeId != RIDE_TYPE_NULL && rideTypeId < RIDE_TYPE_COUNT)
|
||||
if (rideTypeId != kRideTypeNull && rideTypeId < RIDE_TYPE_COUNT)
|
||||
{
|
||||
rideTypeString = GetRideTypeDescriptor(rideTypeId).Naming.Name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user