summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-04-14 15:58:38 +0000
committerpeter1138 <peter1138@openttd.org>2006-04-14 15:58:38 +0000
commit1a1148c24715f958e172d4961b54990dbfea0932 (patch)
treee39f074bc4553b3d8acd40bcfd74dd3ec82995f5 /newgrf.c
parent4a4b860ee7d7d45ad1e4e45c37fe134458ef2daa (diff)
downloadopenttd-1a1148c24715f958e172d4961b54990dbfea0932.tar.xz
(svn r4414) - NewGRF: Don't execute sprite replacements (action 0x0A) in the
initialization stage.
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf.c b/newgrf.c
index 6f9b7ec2b..c9e0eae42 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -2491,7 +2491,7 @@ static void DecodeSpecialSprite(uint num, uint stage)
* 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,