From 5719a23f9b0729f04ed1fa5dc6cc680c58d514d4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 Jan 2017 18:57:07 +0300 Subject: Move units into db directory. --- src/resources/item/shopitem.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/resources/item') 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("]"); -- cgit v1.2.3-70-g09d2