summaryrefslogtreecommitdiff
path: root/src/resources/sprite
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sprite')
-rw-r--r--src/resources/sprite/spritedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sprite/spritedef.cpp b/src/resources/sprite/spritedef.cpp
index 544729d6a..3eb30d27d 100644
--- a/src/resources/sprite/spritedef.cpp
+++ b/src/resources/sprite/spritedef.cpp
@@ -565,7 +565,7 @@ void SpriteDef::addAction(const unsigned hp, const std::string &name,
{
const Actions::const_iterator i = mActions.find(hp);
if (i == mActions.end())
- mActions[hp] = new ActionMap();
+ mActions[hp] = new ActionMap;
(*mActions[hp])[name] = action;
}