summaryrefslogtreecommitdiff
path: root/src/gui/windows/charselectdialog.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/gui/windows/charselectdialog.cpp
parent31e7a7d05f36495df0176fc31d5894e216c3cdf4 (diff)
downloadplus-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.gz
plus-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.bz2
plus-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.xz
plus-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.zip
Move units into db directory.
Diffstat (limited to 'src/gui/windows/charselectdialog.cpp')
-rw-r--r--src/gui/windows/charselectdialog.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp
index 537ae57d4..f7edbfc24 100644
--- a/src/gui/windows/charselectdialog.cpp
+++ b/src/gui/windows/charselectdialog.cpp
@@ -24,7 +24,6 @@
#include "client.h"
#include "configuration.h"
-#include "units.h"
#include "listeners/charrenamelistener.h"
#include "listeners/pincodelistener.h"
@@ -48,6 +47,8 @@
#include "net/logindata.h"
#include "net/serverfeatures.h"
+#include "resources/db/unitsdb.h"
+
#include "debug.h"
// Character slots per row in the dialog
@@ -251,7 +252,7 @@ void CharSelectDialog::action(const ActionEvent &event)
character->data.mAttributes[Attributes::PLAYER_LEVEL]),
CAST_U32(
character->data.mAttributes[Attributes::PLAYER_EXP]),
- Units::formatCurrency(
+ UnitsDb::formatCurrency(
character->data.mAttributes[Attributes::MONEY]).c_str());
CREATEWIDGET(OkDialog, data->getName(), msg,
// TRANSLATORS: ok dialog button