diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 18:42:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:21 +0300 |
commit | 2033ce76a8fba2148bc034d16e1d226bc757c47f (patch) | |
tree | 08a53fde19959fc72c09c42b457f63d63aba291d /src/particle/animationparticle.cpp | |
parent | e441e9e40d27930f3533ffecfa2a48e4fd312f4c (diff) | |
download | manaverse-2033ce76a8fba2148bc034d16e1d226bc757c47f.tar.gz manaverse-2033ce76a8fba2148bc034d16e1d226bc757c47f.tar.bz2 manaverse-2033ce76a8fba2148bc034d16e1d226bc757c47f.tar.xz manaverse-2033ce76a8fba2148bc034d16e1d226bc757c47f.zip |
remove virtual methos call from particle constructor.
Diffstat (limited to 'src/particle/animationparticle.cpp')
-rw-r--r-- | src/particle/animationparticle.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/particle/animationparticle.cpp b/src/particle/animationparticle.cpp index bfa1d6c7f..6fba399c8 100644 --- a/src/particle/animationparticle.cpp +++ b/src/particle/animationparticle.cpp @@ -26,17 +26,15 @@ #include "debug.h" -AnimationParticle::AnimationParticle(Map *const map, - Animation *const animation) : - ImageParticle(map, nullptr), +AnimationParticle::AnimationParticle(Animation *const animation) : + ImageParticle(nullptr), mAnimation(new SimpleAnimation(animation)) { } -AnimationParticle::AnimationParticle(Map *const map, - XmlNodePtr const animationNode, +AnimationParticle::AnimationParticle(XmlNodePtr const animationNode, const std::string& dyePalettes): - ImageParticle(map, nullptr), + ImageParticle(nullptr), mAnimation(new SimpleAnimation(animationNode, dyePalettes)) { } |