(svn r24903) -Fix: Cached station animation triggers were only set when removing parts of a station.

This commit is contained in:
peter1138 2013-01-10 18:58:22 +00:00
parent ecfe0e1302
commit b935e01513
1 changed files with 2 additions and 0 deletions

View File

@ -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;