summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
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/tmwa/generalhandler.cpp
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/tmwa/generalhandler.cpp')
-rw-r--r--src/net/tmwa/generalhandler.cpp3
1 files changed, 2 insertions, 1 deletions
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()