diff options
Diffstat (limited to 'src/entityfactory.cpp')
-rw-r--r-- | src/entityfactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entityfactory.cpp b/src/entityfactory.cpp index 3fcb9ed..bf137e2 100644 --- a/src/entityfactory.cpp +++ b/src/entityfactory.cpp | |||
@@ -59,7 +59,7 @@ std::shared_ptr<Entity> EntityFactory::createNamedEntity(const std::string name, | |||
59 | { | 59 | { |
60 | xmlChar* key = xmlNodeListGetString(doc, node->xmlChildrenNode, 1); | 60 | xmlChar* key = xmlNodeListGetString(doc, node->xmlChildrenNode, 1); |
61 | data.hasPhysics = true; | 61 | data.hasPhysics = true; |
62 | sscanf((char*) key, "%d,%d", &(data.width), &(data.height)); | 62 | sscanf((char*) key, "%d,%d", &data.width, &data.height); |
63 | xmlFree(key); | 63 | xmlFree(key); |
64 | } | 64 | } |
65 | } | 65 | } |