diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-09 04:08:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-09 04:08:23 +0300 |
commit | c0dbb0d20fb321ecf12cdcc22d960b3572e35286 (patch) | |
tree | 49db93220b7554e539ec24df775266340530232a /src/resources | |
parent | 6a4bf944ace9215924b3f37f634a2fac35febd13 (diff) | |
download | manaverse-c0dbb0d20fb321ecf12cdcc22d960b3572e35286.tar.gz manaverse-c0dbb0d20fb321ecf12cdcc22d960b3572e35286.tar.bz2 manaverse-c0dbb0d20fb321ecf12cdcc22d960b3572e35286.tar.xz manaverse-c0dbb0d20fb321ecf12cdcc22d960b3572e35286.zip |
Fix translate custom npc menu.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/db/npcdb.cpp | 4 |
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); } |