(svn r24903) -Fix: Cached station animation triggers were only set when removing parts of a station.
This commit is contained in:
@@ -730,6 +730,8 @@ int AllocateSpecToStation(const StationSpec *statspec, BaseStation *st, bool exe
|
|||||||
st->speclist[i].spec = statspec;
|
st->speclist[i].spec = statspec;
|
||||||
st->speclist[i].grfid = statspec->grf_prop.grffile->grfid;
|
st->speclist[i].grfid = statspec->grf_prop.grffile->grfid;
|
||||||
st->speclist[i].localidx = statspec->grf_prop.local_id;
|
st->speclist[i].localidx = statspec->grf_prop.local_id;
|
||||||
|
|
||||||
|
StationUpdateAnimTriggers(st);
|
||||||
}
|
}
|
||||||
|
|
||||||
return i;
|
return i;
|
||||||
|
Reference in New Issue
Block a user