# HG changeset patch # User belugas # Date 1198013144 0 # Node ID cb18bacacde00694ae06c5886b3eaafca061fc1e # Parent cf92483a0abf5d934a759a4efdb7088fc1e82f2c (svn r11665) -Fix: Animation informations should not be copied from original industry tile spec, while doing an action 00, industry tile, prop 08. Fix directly inspired by Csaboka diff -r cf92483a0abf -r cb18bacacde0 src/newgrf.cpp --- a/src/newgrf.cpp Tue Dec 18 20:58:12 2007 +0000 +++ b/src/newgrf.cpp Tue Dec 18 21:25:44 2007 +0000 @@ -1777,6 +1777,13 @@ memcpy(tsp, &_industry_tile_specs[subs_id], sizeof(_industry_tile_specs[subs_id])); tsp->enabled = true; + + /* A copied tile should not have the animation infos copied too. + * The anim_state should be left untouched, though + * It is up to the author to animate them himself */ + tsp->anim_production = INDUSTRYTILE_NOANIM; + tsp->anim_next = INDUSTRYTILE_NOANIM; + tsp->grf_prop.local_id = indtid + i; tsp->grf_prop.subst_id = subs_id; tsp->grf_prop.grffile = _cur_grffile;