diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-29 18:16:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-29 18:26:49 +0300 |
commit | 6afd82349bca7e8f5580057e3c1b9133e51c60c2 (patch) | |
tree | 29795086a6569debbc78fab59820ea51002a1329 /src/resources/sprite/spritedef.cpp | |
parent | cc78eca07666eec99f1a09d809568970e968b52d (diff) | |
download | manaplus-6afd82349bca7e8f5580057e3c1b9133e51c60c2.tar.gz manaplus-6afd82349bca7e8f5580057e3c1b9133e51c60c2.tar.bz2 manaplus-6afd82349bca7e8f5580057e3c1b9133e51c60c2.tar.xz manaplus-6afd82349bca7e8f5580057e3c1b9133e51c60c2.zip |
Add name into Animation memory object.
Diffstat (limited to 'src/resources/sprite/spritedef.cpp')
-rw-r--r-- | src/resources/sprite/spritedef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sprite/spritedef.cpp b/src/resources/sprite/spritedef.cpp index a19c1b267..e0919b10b 100644 --- a/src/resources/sprite/spritedef.cpp +++ b/src/resources/sprite/spritedef.cpp @@ -316,7 +316,7 @@ void SpriteDef::loadAnimation(const XmlNodePtr animationNode, return; } - Animation *const animation = new Animation; + Animation *const animation = new Animation(directionName); action->setAnimation(directionType, animation); // Get animation frames |