summaryrefslogtreecommitdiff
path: root/src/newgrf_station.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2013-01-10 18:58:22 +0000
committerpeter1138 <peter1138@openttd.org>2013-01-10 18:58:22 +0000
commitb935e01513837172d06368e53b99700ffeb3f3e6 (patch)
treea271d61c9746a96dc68dc4d92031699fd432e0a9 /src/newgrf_station.cpp
parentecfe0e1302d1d23c05cc150b4204eb77fa780a57 (diff)
downloadopenttd-b935e01513837172d06368e53b99700ffeb3f3e6.tar.xz
(svn r24903) -Fix: Cached station animation triggers were only set when removing parts of a station.
Diffstat (limited to 'src/newgrf_station.cpp')
-rw-r--r--src/newgrf_station.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp
index 15fbc4910..c7ec8a241 100644
--- a/src/newgrf_station.cpp
+++ b/src/newgrf_station.cpp
@@ -730,6 +730,8 @@ int AllocateSpecToStation(const StationSpec *statspec, BaseStation *st, bool exe
st->speclist[i].spec = statspec;
st->speclist[i].grfid = statspec->grf_prop.grffile->grfid;
st->speclist[i].localidx = statspec->grf_prop.local_id;
+
+ StationUpdateAnimTriggers(st);
}
return i;