src/economy.cpp
changeset 10266 435142fa43dc
parent 10121 b82006b98b4a
child 10287 dd14c80bad05
--- a/src/economy.cpp	Sat Apr 19 22:51:52 2008 +0000
+++ b/src/economy.cpp	Sat Apr 19 23:19:12 2008 +0000
@@ -26,6 +26,7 @@
 #include "newgrf_callbacks.h"
 #include "newgrf_industries.h"
 #include "newgrf_industrytiles.h"
+#include "newgrf_station.h"
 #include "unmovable.h"
 #include "cargotype.h"
 #include "player_face.h"
@@ -1691,6 +1692,8 @@
 			st->time_since_load = 0;
 			st->last_vehicle_type = v->type;
 
+			StationAnimationTrigger(st, st->xy, STAT_ANIM_CARGO_TAKEN, v->cargo_type);
+
 			unloading_time += cap;
 
 			result |= 2;