diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-12 02:02:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-12 02:02:05 +0300 |
commit | f457675ecfd704c99e84fe14f0a1dd49a69a9c76 (patch) | |
tree | 615a7d18d4302cc82e7d3f711006e445ed237eb7 /src/actorsprite.cpp | |
parent | 8f0a7cbb675ede13658bcc10b045d46fda9c93da (diff) | |
download | manaverse-f457675ecfd704c99e84fe14f0a1dd49a69a9c76.tar.gz manaverse-f457675ecfd704c99e84fe14f0a1dd49a69a9c76.tar.bz2 manaverse-f457675ecfd704c99e84fe14f0a1dd49a69a9c76.tar.xz manaverse-f457675ecfd704c99e84fe14f0a1dd49a69a9c76.zip |
Add missing checks to some files.
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r-- | src/actorsprite.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp index 082ceda14..e90536b2d 100644 --- a/src/actorsprite.cpp +++ b/src/actorsprite.cpp @@ -70,7 +70,8 @@ ActorSprite::~ActorSprite() for (ActorSpriteListenerIterator iter = mActorSpriteListeners.begin(), e = mActorSpriteListeners.end(); iter != e; ++iter) { - (*iter)->actorSpriteDestroyed(*this); + if (*iter) + (*iter)->actorSpriteDestroyed(*this); } } |