summaryrefslogtreecommitdiff
path: root/src/net/eathena/vendingrecv.cpp
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/net/eathena/vendingrecv.cpp
parent31e7a7d05f36495df0176fc31d5894e216c3cdf4 (diff)
downloadmanaverse-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.gz
manaverse-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.bz2
manaverse-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.xz
manaverse-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.zip
Move units into db directory.
Diffstat (limited to 'src/net/eathena/vendingrecv.cpp')
-rw-r--r--src/net/eathena/vendingrecv.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/eathena/vendingrecv.cpp b/src/net/eathena/vendingrecv.cpp
index 4431acac2..f5168abac 100644
--- a/src/net/eathena/vendingrecv.cpp
+++ b/src/net/eathena/vendingrecv.cpp
@@ -23,7 +23,6 @@
#include "actormanager.h"
#include "itemcolormanager.h"
#include "notifymanager.h"
-#include "units.h"
#include "being/localplayer.h"
#include "being/playerinfo.h"
@@ -43,6 +42,8 @@
#include "resources/iteminfo.h"
+#include "resources/db/unitsdb.h"
+
#include "resources/inventory/inventory.h"
#include "resources/item/shopitem.h"
@@ -243,7 +244,7 @@ void VendingRecv::processReport(Net::MessageIn &msg)
str = strprintf(_("Sold item %s amount %d. You got: %s"),
info.getLink().c_str(),
amount,
- Units::formatCurrency(money).c_str());
+ UnitsDb::formatCurrency(money).c_str());
}
else
{