1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00

Close #12441: Refactor VEHICLE_TRACK_SUBPOSITION to use strong enum (#12550)

This commit is contained in:
Sidney
2020-08-02 08:50:07 +02:00
committed by GitHub
parent e039a51826
commit 97d74e142e
9 changed files with 125 additions and 120 deletions

View File

@@ -64,7 +64,7 @@ Vehicle* cable_lift_segment_create(
{
peep = SPRITE_INDEX_NULL;
}
current->TrackSubposition = VEHICLE_TRACK_SUBPOSITION_0;
current->TrackSubposition = VehicleTrackSubposition::Default;
current->sprite_direction = direction << 3;
z = z * COORDS_Z_STEP;