summaryrefslogtreecommitdiff
path: root/src/actorsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-27 19:56:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-27 19:56:39 +0300
commit7ed1a27d17f23a842d4bedfb9f218ec48ed94fd7 (patch)
treed6b729d3472b156a8b07f1f470cda4aa09982ab5 /src/actorsprite.cpp
parent02d34fb8676682815300b9b4f410d632a5b338c0 (diff)
downloadmanaplus-7ed1a27d17f23a842d4bedfb9f218ec48ed94fd7.tar.gz
manaplus-7ed1a27d17f23a842d4bedfb9f218ec48ed94fd7.tar.bz2
manaplus-7ed1a27d17f23a842d4bedfb9f218ec48ed94fd7.tar.xz
manaplus-7ed1a27d17f23a842d4bedfb9f218ec48ed94fd7.zip
Add debug check.
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r--src/actorsprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp
index e86c886e4..267392a6c 100644
--- a/src/actorsprite.cpp
+++ b/src/actorsprite.cpp
@@ -292,7 +292,7 @@ void ActorSprite::updateStatusEffect(int index, bool newStatus)
void ActorSprite::handleStatusEffect(StatusEffect *effect, int effectId)
{
- if (reportTrue(!effect))
+ if (!effect)
return;
// TODO: Find out how this is meant to be used