# HG changeset patch # User peter1138 # Date 2006-04-14 15:58:38 # Node ID 54009af87cb855d40000ac8f9cace4b88de67368 # Parent ccc3d5684050e2e70a0aa4cc545f3f9478c2837a (svn r4414) - NewGRF: Don't execute sprite replacements (action 0x0A) in the initialization stage. diff --git a/newgrf.c b/newgrf.c --- a/newgrf.c +++ b/newgrf.c @@ -2491,7 +2491,7 @@ static void DecodeSpecialSprite(uint num * in an earlier stage than associating, so... We just process actions * 1 and 2 in stage 1 now, let's hope that won't get us into problems. * --pasky */ - uint32 action_mask = (stage == 0) ? 0x0001FF40 : 0x0001FFBF; + uint32 action_mask = (stage == 0) ? 0x0001FB40 : 0x0001FFBF; static const SpecialSpriteHandler handlers[] = { /* 0x00 */ VehicleChangeInfo, /* 0x01 */ NewSpriteSet,