mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r22746) -Feature: [NewGRF] Implement feature 04 property 18 bit 5.
This commit is contained in:
parent
da0ee75a70
commit
a2cbae88b0
|
@ -1346,6 +1346,10 @@ 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);
|
||||
}
|
||||
|
||||
/* Only set completely_emptied, if we just unloaded all remaining cargo */
|
||||
completely_emptied &= anything_unloaded;
|
||||
|
||||
|
|
Loading…
Reference in New Issue