Merge pull request #15099 from feijing566/v3

Add "id" for parser object
This commit is contained in:
minggo 2016-04-19 10:18:04 +08:00
commit 3dbabdee05
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)
{