diff options
author | peter1138 <peter1138@openttd.org> | 2013-01-10 18:58:22 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2013-01-10 18:58:22 +0000 |
commit | b935e01513837172d06368e53b99700ffeb3f3e6 (patch) | |
tree | a271d61c9746a96dc68dc4d92031699fd432e0a9 | |
parent | ecfe0e1302d1d23c05cc150b4204eb77fa780a57 (diff) | |
download | openttd-b935e01513837172d06368e53b99700ffeb3f3e6.tar.xz |
(svn r24903) -Fix: Cached station animation triggers were only set when removing parts of a station.
-rw-r--r-- | src/newgrf_station.cpp | 2 |
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; |