summaryrefslogtreecommitdiff
path: root/src/simpleanimation.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-08 00:17:45 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-08 00:17:45 +0300
commit593cccb16074fe9269dd2f278bd79859769eb1fd (patch)
treed8b3d93001021c59622ea88140dbbef8aee05013 /src/simpleanimation.cpp
parentb7e35a7bbd41c39fa675e77b2af6a11bb4d86dd2 (diff)
downloadmanaplus-593cccb16074fe9269dd2f278bd79859769eb1fd.tar.gz
manaplus-593cccb16074fe9269dd2f278bd79859769eb1fd.tar.bz2
manaplus-593cccb16074fe9269dd2f278bd79859769eb1fd.tar.xz
manaplus-593cccb16074fe9269dd2f278bd79859769eb1fd.zip
Improve constructors in some classes.
Diffstat (limited to 'src/simpleanimation.cpp')
-rw-r--r--src/simpleanimation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simpleanimation.cpp b/src/simpleanimation.cpp
index 595a7aaaf..f9966d83f 100644
--- a/src/simpleanimation.cpp
+++ b/src/simpleanimation.cpp
@@ -49,6 +49,7 @@ SimpleAnimation::SimpleAnimation(const XmlNodePtr animationNode,
mAnimation(new Animation),
mAnimationTime(0),
mAnimationPhase(0),
+ mCurrentFrame(nullptr),
mInitialized(false)
{
initializeAnimation(animationNode, dyePalettes);