From eebb2788b04e7ad655338f515918f1ebc0ba05ab Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 17 Feb 2013 20:22:40 -0500 Subject: Support unused tileset properties. --- (limited to 'src') diff --git a/src/resources/map.c b/src/resources/map.c index 5e30aa2..67b00cb 100644 --- a/src/resources/map.c +++ b/src/resources/map.c @@ -440,6 +440,9 @@ tmx_tileset_el_start(void *pv, const char *name, const char **attr) if (xml_check_tag(name, "tileoffset")) { /* Not used by engine. */ xml_node_push(p, NULL, tmx_unused_start, tmx_unused_end, NULL); + } else if (xml_check_tag(name, "properties")) { + /* Not used by engine. */ + xml_node_push(p, NULL, tmx_unused_start, tmx_unused_end, NULL); } else if (xml_check_tag(name, "image")) { xml_get_int_attr(p, attr, "width", &ts->width, 1); xml_get_int_attr(p, attr, "height", &ts->height, 1); -- cgit v0.9.1