diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-03-20 17:45:56 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-03-20 17:45:56 -0600 |
commit | 45462abc131d58f0a92bf3ccb70b0004d437ac5a (patch) | |
tree | df163136203e99efe18be226dcb8801421cb0f19 /src/resources | |
parent | 54f39afae942d88012f4842ac1dc1ee5dca6d4c7 (diff) | |
download | mana-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.cpp | 1 | ||||
-rw-r--r-- | src/resources/monsterinfo.cpp | 5 |
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) { } |