summary refs log tree commit diff stats
path: root/src/entityfactory.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2015-03-14 17:22:17 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2015-03-14 17:22:17 -0400
commit25855f327a0b2b1386a3fd8c568817bb7782cac2 (patch)
treee651ddf541eb9ff3a0662f92de9aea27faf013af /src/entityfactory.cpp
parent81992165f5cf6ddebe7952c694b211b16cc45bd4 (diff)
downloadtherapy-25855f327a0b2b1386a3fd8c568817bb7782cac2.tar.gz
therapy-25855f327a0b2b1386a3fd8c568817bb7782cac2.tar.bz2
therapy-25855f327a0b2b1386a3fd8c568817bb7782cac2.zip
Added reverb to sound effects
Also removed some extraneous parentheses
Diffstat (limited to 'src/entityfactory.cpp')
-rw-r--r--src/entityfactory.cpp2
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 }