summaryrefslogtreecommitdiff
path: root/src/resources/item
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-31 18:57:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-31 18:57:07 +0300
commit5719a23f9b0729f04ed1fa5dc6cc680c58d514d4 (patch)
treed4fc1a73ea263a737e56d740a266bea34a1bbfcd /src/resources/item
parent31e7a7d05f36495df0176fc31d5894e216c3cdf4 (diff)
downloadmanaplus-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.gz
manaplus-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.bz2
manaplus-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.xz
manaplus-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.zip
Move units into db directory.
Diffstat (limited to 'src/resources/item')
-rw-r--r--src/resources/item/shopitem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/item/shopitem.cpp b/src/resources/item/shopitem.cpp
index 74b4f2de8..b3d088b36 100644
--- a/src/resources/item/shopitem.cpp
+++ b/src/resources/item/shopitem.cpp
@@ -22,14 +22,14 @@
#include "resources/item/shopitem.h"
-#include "units.h"
-
#include "resources/iteminfo.h"
#include "utils/stringutils.h"
#include "net/serverfeatures.h"
+#include "resources/db/unitsdb.h"
+
#include "debug.h"
ShopItem::ShopItem(const int inventoryIndex,
@@ -99,7 +99,7 @@ void ShopItem::updateDisplayName(const int quantity)
if (mPrice)
{
mDisplayName.append(" (").append(
- Units::formatCurrency(mPrice)).append(") ");
+ UnitsDb::formatCurrency(mPrice)).append(") ");
}
if (mShowQuantity && quantity > 1)
mDisplayName.append("[").append(toString(quantity)).append("]");