summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/npcdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/npcdb.cpp b/src/resources/db/npcdb.cpp
index 12ab211f1..d6cc55264 100644
--- a/src/resources/db/npcdb.cpp
+++ b/src/resources/db/npcdb.cpp
@@ -151,8 +151,8 @@ void NPCDB::loadXmlFile(const std::string &fileName,
}
else if (xmlNameEqual(spriteNode, "menu"))
{
- std::string name = XML::getProperty(spriteNode, "name", "");
- std::string command = XML::langProperty(spriteNode,
+ std::string name = XML::langProperty(spriteNode, "name", "");
+ std::string command = XML::getProperty(spriteNode,
"command", "");
currentInfo->addMenu(name, command);
}