summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-02-22 14:16:57 +0000
committeryexo <yexo@openttd.org>2010-02-22 14:16:57 +0000
commit7ca4c31cf558ff29b3cbe14cd348bcf649445dfc (patch)
tree7577f2eda50659c477bdfd9bfbc8068bb47261e5 /src/economy.cpp
parent61fe40ba73e84931d22f015783ce3c1817293b96 (diff)
downloadopenttd-7ca4c31cf558ff29b3cbe14cd348bcf649445dfc.tar.xz
(svn r19197) -Codechange: introduce animation callbacks for airport tiles
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index 8711011cd..48a6b63c8 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -27,6 +27,7 @@
#include "newgrf_industries.h"
#include "newgrf_industrytiles.h"
#include "newgrf_station.h"
+#include "newgrf_airporttiles.h"
#include "unmovable.h"
#include "group.h"
#include "strings_func.h"
@@ -1288,6 +1289,7 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left)
st->last_vehicle_type = v->type;
StationAnimationTrigger(st, st->xy, STAT_ANIM_CARGO_TAKEN, v->cargo_type);
+ AirportAnimationTrigger(st, AAT_STATION_CARGO_TAKEN, v->cargo_type);
unloading_time += cap;