summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-29 18:57:21 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-30 00:03:19 +0300
commitbd10eec0009a0b90b246b07829d176a360d7bccb (patch)
treeb957a1e744c672cceb107689a94d292c6d2b8aa7 /src/net
parentaa47227c8d93bcc3d225c51461c9c8af113bfcc1 (diff)
downloadmanaverse-bd10eec0009a0b90b246b07829d176a360d7bccb.tar.gz
manaverse-bd10eec0009a0b90b246b07829d176a360d7bccb.tar.bz2
manaverse-bd10eec0009a0b90b246b07829d176a360d7bccb.tar.xz
manaverse-bd10eec0009a0b90b246b07829d176a360d7bccb.zip
Add statdb. Move to statdb server related stats list.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/generalhandler.cpp3
-rw-r--r--src/net/tmwa/generalhandler.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index 0cc91b297..42a5ad974 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -69,6 +69,7 @@
#include "net/eathena/vendinghandler.h"
#include "resources/db/itemdbstat.h"
+#include "resources/db/statdb.h"
#include "utils/delete2.h"
#include "utils/gettext.h"
@@ -132,7 +133,7 @@ GeneralHandler::GeneralHandler() :
// TRANSLATORS: player stat
stats.push_back(ItemDB::Stat("luck", _("Luck %s")));
- ItemDB::setStatsList(stats);
+ StatDb::setStatsList(stats);
}
GeneralHandler::~GeneralHandler()
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index 10b5cf5f2..4fef79f57 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -72,6 +72,7 @@
#endif
#include "resources/db/itemdbstat.h"
+#include "resources/db/statdb.h"
#include "utils/delete2.h"
#include "utils/gettext.h"
@@ -139,7 +140,7 @@ GeneralHandler::GeneralHandler() :
// TRANSLATORS: player stat
stats.push_back(ItemDB::Stat("luck", _("Luck %s")));
- ItemDB::setStatsList(stats);
+ StatDb::setStatsList(stats);
}
GeneralHandler::~GeneralHandler()