mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-07 06:39:08 +00:00
(svn r4414) - NewGRF: Don't execute sprite replacements (action 0x0A) in the
initialization stage.
This commit is contained in:
parent
4a4b860ee7
commit
1a1148c247
2
newgrf.c
2
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,
|
||||
|
Loading…
Reference in New Issue
Block a user