Bug #7185

parameters in produce block

Added by ciekma almost 7 years ago. Updated about 6 years ago.

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


Target version:-


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 about 6 years ago

Fix #7185: Incorrect Action6 offsets for Production Action2.


#1 Updated by frosch about 6 years ago

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

Applied in changeset 490d9ae0d68d.

Also available in: Atom PDF