From 7ed1a27d17f23a842d4bedfb9f218ec48ed94fd7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 27 Apr 2012 19:56:39 +0300 Subject: Add debug check. --- src/actorsprite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/actorsprite.cpp') 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 -- cgit v1.2.3-70-g09d2