summaryrefslogtreecommitdiff
path: root/src/particle/animationparticle.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-16 21:40:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-16 21:40:35 +0300
commit7c6cb759593ec5abc8cf2a3b04a388c7cba269b8 (patch)
tree5d4a06f43a1717502b7f6e19153a28989ba79c8d /src/particle/animationparticle.cpp
parentc4a6dd36733fc3365d5a8913e8cdc7b4c1175c8d (diff)
downloadmanaplus-7c6cb759593ec5abc8cf2a3b04a388c7cba269b8.tar.gz
manaplus-7c6cb759593ec5abc8cf2a3b04a388c7cba269b8.tar.bz2
manaplus-7c6cb759593ec5abc8cf2a3b04a388c7cba269b8.tar.xz
manaplus-7c6cb759593ec5abc8cf2a3b04a388c7cba269b8.zip
Move AnimationParticle and RotationalParticle update functions into Particle.
Diffstat (limited to 'src/particle/animationparticle.cpp')
-rw-r--r--src/particle/animationparticle.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/particle/animationparticle.cpp b/src/particle/animationparticle.cpp
index 006c7942f..48a62db9f 100644
--- a/src/particle/animationparticle.cpp
+++ b/src/particle/animationparticle.cpp
@@ -45,13 +45,3 @@ AnimationParticle::~AnimationParticle()
{
mImage = nullptr;
}
-
-bool AnimationParticle::update() restrict2
-{
- if (mAnimation)
- {
- mAnimation->update(10); // particle engine is updated every 10ms
- mImage = mAnimation->getCurrentImage();
- }
- return Particle::update();
-}