summaryrefslogtreecommitdiff
path: root/src/resources/animation/simpleanimation.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-29 18:16:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-29 18:26:49 +0300
commit6afd82349bca7e8f5580057e3c1b9133e51c60c2 (patch)
tree29795086a6569debbc78fab59820ea51002a1329 /src/resources/animation/simpleanimation.cpp
parentcc78eca07666eec99f1a09d809568970e968b52d (diff)
downloadmanaverse-6afd82349bca7e8f5580057e3c1b9133e51c60c2.tar.gz
manaverse-6afd82349bca7e8f5580057e3c1b9133e51c60c2.tar.bz2
manaverse-6afd82349bca7e8f5580057e3c1b9133e51c60c2.tar.xz
manaverse-6afd82349bca7e8f5580057e3c1b9133e51c60c2.zip
Add name into Animation memory object.
Diffstat (limited to 'src/resources/animation/simpleanimation.cpp')
-rw-r--r--src/resources/animation/simpleanimation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/animation/simpleanimation.cpp b/src/resources/animation/simpleanimation.cpp
index e4c0d8a3f..8f0bfba0b 100644
--- a/src/resources/animation/simpleanimation.cpp
+++ b/src/resources/animation/simpleanimation.cpp
@@ -49,7 +49,7 @@ SimpleAnimation::SimpleAnimation(Animation *const animation) :
SimpleAnimation::SimpleAnimation(const XmlNodePtr animationNode,
const std::string& dyePalettes) :
- mAnimation(new Animation),
+ mAnimation(new Animation("simple animation")),
mAnimationTime(0),
mAnimationPhase(0),
mCurrentFrame(nullptr),