(svn r24904) -Fix (r22746): "Train loads/unloads cargo" station animation triggers on individual platform

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 12 years ago
parent b935e01513
commit 4ebbfc3de4

@ -1552,7 +1552,7 @@ static void LoadUnloadVehicle(Vehicle *front, int *cargo_left)
}
if (anything_loaded || anything_unloaded) {
if (front->type == VEH_TRAIN) TriggerStationAnimation(st, st->xy, SAT_TRAIN_LOADS);
if (front->type == VEH_TRAIN) TriggerStationAnimation(st, front->tile, SAT_TRAIN_LOADS);
}
/* Only set completely_emptied, if we just unloaded all remaining cargo */

Loading…
Cancel
Save