From a2cbae88b022414d4c2cff442b2a2588c666e2f0 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 14 Aug 2011 13:47:14 +0000 Subject: (svn r22746) -Feature: [NewGRF] Implement feature 04 property 18 bit 5. --- src/economy.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/economy.cpp b/src/economy.cpp index 15e136bf7..970359786 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -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; -- cgit v1.2.3-70-g09d2