summaryrefslogtreecommitdiff
path: root/src/actorsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-14 11:27:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-14 12:34:23 +0300
commita7d7346b9eb3fa62a8912e31d5c00f8e05390425 (patch)
treeba2d006e8aaac74138eb13ba458d30abf8f01182 /src/actorsprite.cpp
parent9569f124d176b4220f28f9a41812c33883737228 (diff)
downloadmanaplus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.gz
manaplus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.bz2
manaplus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.xz
manaplus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.zip
some more style fixes from cpplint.
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r--src/actorsprite.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp
index 60857a5af..930289c74 100644
--- a/src/actorsprite.cpp
+++ b/src/actorsprite.cpp
@@ -142,7 +142,7 @@ void ActorSprite::setMap(Map *const map)
// Clear particle effect list because child particles became invalid
mChildParticleEffects.clear();
- mMustResetParticles = true; // Reset status particles on next redraw
+ mMustResetParticles = true; // Reset status particles on next redraw
}
void ActorSprite::controlParticle(Particle *const particle)
@@ -208,12 +208,6 @@ void ActorSprite::handleStatusEffect(StatusEffect *const effect,
if (!effect)
return;
- // TODO: Find out how this is meant to be used
- // (SpriteAction != Being::Action)
- //SpriteAction action = effect->getAction();
- //if (action != ACTION_INVALID)
- // setAction(action);
-
Particle *const particle = effect->getParticle();
if (effectId >= 0)
@@ -286,7 +280,7 @@ void ActorSprite::setupSpriteDisplay(const SpriteDisplay &display,
mChildParticleEffects.clear();
- //setup particle effects
+ // setup particle effects
if (Particle::enabled && particleEngine)
{
FOR_EACH (StringVectCIter, itr, display.particles)