# HG changeset patch # User peter1138 # Date 2013-01-10 18:58:22 # Node ID 6fcd98a86532ee646ded4789bd83792c2605c624 # Parent 964bd91c1d1497c9421f8cc04dfb3c40405bb42c (svn r24903) -Fix: Cached station animation triggers were only set when removing parts of a station. diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp --- a/src/newgrf_station.cpp +++ b/src/newgrf_station.cpp @@ -730,6 +730,8 @@ int AllocateSpecToStation(const StationS 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;