summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-09 04:08:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-09 04:08:23 +0300
commitc0dbb0d20fb321ecf12cdcc22d960b3572e35286 (patch)
tree49db93220b7554e539ec24df775266340530232a /src
parent6a4bf944ace9215924b3f37f634a2fac35febd13 (diff)
downloadplus-c0dbb0d20fb321ecf12cdcc22d960b3572e35286.tar.gz
plus-c0dbb0d20fb321ecf12cdcc22d960b3572e35286.tar.bz2
plus-c0dbb0d20fb321ecf12cdcc22d960b3572e35286.tar.xz
plus-c0dbb0d20fb321ecf12cdcc22d960b3572e35286.zip
Fix translate custom npc menu.
Diffstat (limited to 'src')
-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);
}