diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-29 20:52:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-29 20:52:00 +0300 |
commit | 22632f4d6c0aeb087fed291b65487990fa55af34 (patch) | |
tree | 4c88c07bf2cff5d0fbd731c213417f2eed4168a2 /src | |
parent | 468810655ea2f8a696357fdef6b0b311113f5009 (diff) | |
download | manaverse-22632f4d6c0aeb087fed291b65487990fa55af34.tar.gz manaverse-22632f4d6c0aeb087fed291b65487990fa55af34.tar.bz2 manaverse-22632f4d6c0aeb087fed291b65487990fa55af34.tar.xz manaverse-22632f4d6c0aeb087fed291b65487990fa55af34.zip |
Fix translation for use/equip buttons from client data.
Diffstat (limited to 'src')
-rw-r--r-- | src/resources/db/itemdb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp index 2768a8cab..5ebfcbb90 100644 --- a/src/resources/db/itemdb.cpp +++ b/src/resources/db/itemdb.cpp @@ -284,8 +284,8 @@ void ItemDB::loadXmlFile(const std::string &fileName, int &tagNum) const int pet = XML::getProperty(node, "pet", 0); const int maxFloorOffset = XML::getIntProperty( node, "maxFloorOffset", mapTileSize, 0, mapTileSize); - std::string useButton = XML::getProperty(node, "useButton", ""); - std::string useButton2 = XML::getProperty(node, "useButton2", ""); + std::string useButton = XML::langProperty(node, "useButton", ""); + std::string useButton2 = XML::langProperty(node, "useButton2", ""); std::string colors; colors = XML::getProperty(node, "colors", ""); |