Issue #31 new

NPE when loading tilemap with terrain data

ks07
created an issue

When trying to create a TiledMap from a tmx file containing terrain data for use with Tiled's terrain tool, an NPE is thrown crashing the program. I believe this to be caused by Tiled adding <tile> tags for each tile used with the terrain tool, as removing these by hand from the tmx file fixes the issue. Attached is the sample file causing the crash, removing lines 11-50 in dtd.tmx prevents the bug from appearing. This bug is present in the latest release version available at http://www.slick2d.org/downloads/slick.jar

Comments (0)

  1. Log in to comment