mirror of https://github.com/axmolengine/axmol.git
parent
37db8407f1
commit
fda721fae2
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue