summaryrefslogtreecommitdiff
path: root/src/resources/db/homunculusdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-02 21:09:14 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-02 21:09:14 +0300
commit670264d93a362a3b987c6da62511ac49cd07b048 (patch)
tree8e7470b6f419965a4fe4464fe06dd9c117edce5a /src/resources/db/homunculusdb.cpp
parent6e577446c8b561a4ce8fd2d74f43c36210e8a571 (diff)
downloadmanaplus-670264d93a362a3b987c6da62511ac49cd07b048.tar.gz
manaplus-670264d93a362a3b987c6da62511ac49cd07b048.tar.bz2
manaplus-670264d93a362a3b987c6da62511ac49cd07b048.tar.xz
manaplus-670264d93a362a3b987c6da62511ac49cd07b048.zip
Show asserts for most errors in resource dbs.
Diffstat (limited to 'src/resources/db/homunculusdb.cpp')
-rw-r--r--src/resources/db/homunculusdb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/db/homunculusdb.cpp b/src/resources/db/homunculusdb.cpp
index c8c7d6d2c..294d04655 100644
--- a/src/resources/db/homunculusdb.cpp
+++ b/src/resources/db/homunculusdb.cpp
@@ -27,6 +27,7 @@
#include "resources/beingcommon.h"
#include "resources/beinginfo.h"
+#include "utils/checkutils.h"
#include "utils/dtor.h"
#include "configuration.h"
@@ -140,7 +141,7 @@ BeingInfo *HomunculusDB::get(const BeingTypeId id)
i = mHomunculusInfos.find(id);
if (i == mHomunculusInfos.end())
{
- logger->log("HomunculusDB: Warning, unknown homunculus ID "
+ reportAlways("HomunculusDB: Warning, unknown homunculus ID "
"%d requested",
toInt(id, int));
return BeingInfo::unknown;