summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-29 20:52:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-29 20:52:00 +0300
commit22632f4d6c0aeb087fed291b65487990fa55af34 (patch)
tree4c88c07bf2cff5d0fbd731c213417f2eed4168a2 /src/resources/db
parent468810655ea2f8a696357fdef6b0b311113f5009 (diff)
downloadplus-22632f4d6c0aeb087fed291b65487990fa55af34.tar.gz
plus-22632f4d6c0aeb087fed291b65487990fa55af34.tar.bz2
plus-22632f4d6c0aeb087fed291b65487990fa55af34.tar.xz
plus-22632f4d6c0aeb087fed291b65487990fa55af34.zip
Fix translation for use/equip buttons from client data.
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/itemdb.cpp4
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", "");