summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-23 01:16:07 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-23 01:16:07 +0300
commit08fd4bc94a6b8b9a355179118d85dcf8258d619d (patch)
treeed23e6b9f031f1b79b7296dca7bb75953fb82c58 /src
parent1455c3aec56ebe4ad904685c7cde232ae4176aaa (diff)
downloadmanaplus-08fd4bc94a6b8b9a355179118d85dcf8258d619d.tar.gz
manaplus-08fd4bc94a6b8b9a355179118d85dcf8258d619d.tar.bz2
manaplus-08fd4bc94a6b8b9a355179118d85dcf8258d619d.tar.xz
manaplus-08fd4bc94a6b8b9a355179118d85dcf8258d619d.zip
Add debug logging about missing status effects.
Diffstat (limited to 'src')
-rw-r--r--src/statuseffect.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp
index 620ed7f29..b9499fc2e 100644
--- a/src/statuseffect.cpp
+++ b/src/statuseffect.cpp
@@ -122,6 +122,7 @@ StatusEffect *StatusEffect::getStatusEffect(const int index,
const std::map<int, StatusEffect *>::iterator it = effects.find(index);
if (it != effects.end())
return (*it).second;
+ logger->log("Missing status effect: %d", index);
return nullptr;
}