1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 18:39:10 +00:00

(svn r22746) -Feature: [NewGRF] Implement feature 04 property 18 bit 5.

This commit is contained in:
frosch
2011-08-14 13:47:14 +00:00
parent da0ee75a70
commit a2cbae88b0

View File

@@ -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;