Fix use of wrong veh tile for station animation/trigger in through load

This commit is contained in:
Jonathan G Rennison
2018-03-29 23:46:21 +01:00
parent 6ec78ff4b0
commit 9be65dc96d

View File

@@ -1941,8 +1941,8 @@ static void LoadUnloadVehicle(Vehicle *front)
if (anything_loaded || anything_unloaded) { if (anything_loaded || anything_unloaded) {
if (front->type == VEH_TRAIN) { if (front->type == VEH_TRAIN) {
TriggerStationRandomisation(st, front->tile, SRT_TRAIN_LOADS); TriggerStationRandomisation(st, station_tile, SRT_TRAIN_LOADS);
TriggerStationAnimation(st, front->tile, SAT_TRAIN_LOADS); TriggerStationAnimation(st, station_tile, SAT_TRAIN_LOADS);
} }
} }