summaryrefslogtreecommitdiff
path: root/src/resources/db/homunculusdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/homunculusdb.cpp')
-rw-r--r--src/resources/db/homunculusdb.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/db/homunculusdb.cpp b/src/resources/db/homunculusdb.cpp
index 38ce44efe..42c3c2304 100644
--- a/src/resources/db/homunculusdb.cpp
+++ b/src/resources/db/homunculusdb.cpp
@@ -27,6 +27,7 @@
#include "utils/checkutils.h"
#include "utils/dtor.h"
+#include "utils/gettext.h"
#include "configuration.h"
@@ -93,6 +94,10 @@ void HomunculusDB::loadXmlFile(const std::string &fileName,
currentInfo = new BeingInfo;
currentInfo->setBlockType(BlockType::NONE);
+ currentInfo->setName(XML::langProperty(
+ // TRANSLATORS: unknown info name
+ homunculusNode, "name", _("unnamed")));
+
BeingCommon::readBasicAttributes(currentInfo,
homunculusNode, "attack");
BeingCommon::readWalkingAttributes(currentInfo,