From 22632f4d6c0aeb087fed291b65487990fa55af34 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 29 Dec 2014 20:52:00 +0300 Subject: Fix translation for use/equip buttons from client data. --- src/resources/db/itemdb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/db') 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", ""); -- cgit v1.2.3-70-g09d2