summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-03-20 17:45:56 -0600
committerJared Adams <jaxad0127@gmail.com>2010-03-20 17:45:56 -0600
commit45462abc131d58f0a92bf3ccb70b0004d437ac5a (patch)
treedf163136203e99efe18be226dcb8801421cb0f19 /src/resources
parent54f39afae942d88012f4842ac1dc1ee5dca6d4c7 (diff)
downloadMana-45462abc131d58f0a92bf3ccb70b0004d437ac5a.tar.gz
Mana-45462abc131d58f0a92bf3ccb70b0004d437ac5a.tar.bz2
Mana-45462abc131d58f0a92bf3ccb70b0004d437ac5a.tar.xz
Mana-45462abc131d58f0a92bf3ccb70b0004d437ac5a.zip
Add some defaults for MonsterInfo
Diffstat (limited to 'src/resources')
-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)
{
}