summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/resources/monsterdb.cpp1
-rw-r--r--src/resources/monsterinfo.cpp5
2 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp
index 21f15a90..49e09f9f 100644
--- a/src/resources/monsterdb.cpp
+++ b/src/resources/monsterdb.cpp
@@ -42,7 +42,6 @@ void MonsterDB::load()
return;
mUnknown.addSprite("error.xml");
- mUnknown.setName(_("unnamed"));
logger->log("Initializing monster database...");
diff --git a/src/resources/monsterinfo.cpp b/src/resources/monsterinfo.cpp
index 7f50a68c..9104c721 100644
--- a/src/resources/monsterinfo.cpp
+++ b/src/resources/monsterinfo.cpp
@@ -22,8 +22,11 @@
#include "resources/monsterinfo.h"
#include "utils/dtor.h"
+#include "utils/gettext.h"
-MonsterInfo::MonsterInfo()
+MonsterInfo::MonsterInfo():
+ mName(_("unnamed")),
+ mTargetCursorSize(Being::TC_MEDIUM)
{
}