summaryrefslogtreecommitdiff
path: root/src/actorsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-14 03:23:49 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-14 03:23:49 +0300
commiteedeca17b9867762093e330d68bf21aea9e75fba (patch)
treee1acce6753ffedeff5ea4c80dc3399f6dd0260c9 /src/actorsprite.cpp
parent1a04f34a62dc82833dbe994a9f11d543b6a78928 (diff)
downloadmanaplus-eedeca17b9867762093e330d68bf21aea9e75fba.tar.gz
manaplus-eedeca17b9867762093e330d68bf21aea9e75fba.tar.bz2
manaplus-eedeca17b9867762093e330d68bf21aea9e75fba.tar.xz
manaplus-eedeca17b9867762093e330d68bf21aea9e75fba.zip
Add missing checks.
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r--src/actorsprite.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp
index 90536e364..23f229217 100644
--- a/src/actorsprite.cpp
+++ b/src/actorsprite.cpp
@@ -66,7 +66,7 @@ ActorSprite::~ActorSprite()
// Notify listeners of the destruction.
for (ActorSpriteListenerIterator iter = mActorSpriteListeners.begin(),
- end = mActorSpriteListeners.end(); iter != end; ++iter)
+ end = mActorSpriteListeners.end(); iter != end; ++iter)
{
(*iter)->actorSpriteDestroyed(*this);
}
@@ -414,8 +414,6 @@ static const char *cursorType(int type)
default:
case ActorSprite::TCT_NORMAL:
return "normal";
-// default:
-// assert(false);
}
}
@@ -430,8 +428,6 @@ static const char *cursorSize(int size)
default:
case ActorSprite::TC_SMALL:
return "s";
-// default:
-// assert(false);
}
}