diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-23 01:16:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-23 01:16:07 +0300 |
commit | 08fd4bc94a6b8b9a355179118d85dcf8258d619d (patch) | |
tree | ed23e6b9f031f1b79b7296dca7bb75953fb82c58 /src | |
parent | 1455c3aec56ebe4ad904685c7cde232ae4176aaa (diff) | |
download | plus-08fd4bc94a6b8b9a355179118d85dcf8258d619d.tar.gz plus-08fd4bc94a6b8b9a355179118d85dcf8258d619d.tar.bz2 plus-08fd4bc94a6b8b9a355179118d85dcf8258d619d.tar.xz plus-08fd4bc94a6b8b9a355179118d85dcf8258d619d.zip |
Add debug logging about missing status effects.
Diffstat (limited to 'src')
-rw-r--r-- | src/statuseffect.cpp | 1 |
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; } |