diff options
Diffstat (limited to 'src/resources/item/shopitem.cpp')
-rw-r--r-- | src/resources/item/shopitem.cpp | 6 |
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("]"); |