(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
1 changed files with 4 additions and 0 deletions

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;