1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 17:02:37 +01:00

Codechange: Turn AnimationTrigger enums into enum classes. (#14067)

This commit is contained in:
frosch
2025-04-21 20:53:31 +02:00
committed by GitHub
parent 61a0a520f6
commit d7ddea4032
34 changed files with 124 additions and 112 deletions

View File

@@ -3025,7 +3025,7 @@ static void TrainEnterStation(Train *v, StationID station)
v->BeginLoading();
TriggerStationRandomisation(st, v->tile, StationRandomTrigger::VehicleArrives);
TriggerStationAnimation(st, v->tile, SAT_TRAIN_ARRIVES);
TriggerStationAnimation(st, v->tile, StationAnimationTrigger::VehicleArrives);
}
/* Check if the vehicle is compatible with the specified tile */