Bug #7185

parameters in produce block

Added by ciekma about 3 years ago. Updated over 2 years ago.

Status:ClosedStart date:2014-09-23
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

If newgrf parameters and/or formulas are used within produce block,
some openttd run-errors and warnings appears in console.
For example, in attached test grf, there are warnings like:
NewSpriteGroup: Unsupported feature nnn, skipping
GetGroupFromGroupID(0xNN:0xNN): Groupid 0x00xx does not exist, leaving empty

Other fatal error related to produce block can be
DecodeSpecialSprite: Tried to read past end of pseudo-sprite data
however not reproduced by attached simple example.

test.zip - sample newgrf with nml source (16.4 KB) ciekma, 2014-09-23 10:49

Associated revisions

Revision 2295:490d9ae0d68d
Added by frosch over 2 years ago

Fix #7185: Incorrect Action6 offsets for Production Action2.

History

#1 Updated by frosch over 2 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Applied in changeset 490d9ae0d68d.

Also available in: Atom PDF