Add "id" for parser object

Add "id" for parser object
This commit is contained in:
feijing566 2016-02-23 14:07:04 +08:00
parent 37db8407f1
commit fda721fae2
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ void TMXMapInfo::startElement(void *ctx, const char *name, const char **atts)
// Create an instance of TMXObjectInfo to store the object and its properties
ValueMap dict;
// Parse everything automatically
const char* keys[] = {"name", "type", "width", "height", "gid"};
const char* keys[] = {"name", "type", "width", "height", "gid", "id"};
for (const auto& key : keys)
{