mirror of https://github.com/OpenTTD/OpenTTD
(svn r24903) -Fix: Cached station animation triggers were only set when removing parts of a station.
parent
ecfe0e1302
commit
b935e01513
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue