changeset 17941:1cac4486290e draft

(svn r22746) -Feature: [NewGRF] Implement feature 04 property 18 bit 5.
author frosch <frosch@openttd.org>
date Sun, 14 Aug 2011 13:47:14 +0000
parents 47b3cffe2782
children 3f677291b6a6
files src/economy.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -1346,6 +1346,10 @@
 		}
 	}
 
+	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;