diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-29 18:57:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-30 00:03:19 +0300 |
commit | bd10eec0009a0b90b246b07829d176a360d7bccb (patch) | |
tree | b957a1e744c672cceb107689a94d292c6d2b8aa7 /src/net/tmwa | |
parent | aa47227c8d93bcc3d225c51461c9c8af113bfcc1 (diff) | |
download | plus-bd10eec0009a0b90b246b07829d176a360d7bccb.tar.gz plus-bd10eec0009a0b90b246b07829d176a360d7bccb.tar.bz2 plus-bd10eec0009a0b90b246b07829d176a360d7bccb.tar.xz plus-bd10eec0009a0b90b246b07829d176a360d7bccb.zip |
Add statdb. Move to statdb server related stats list.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 3 |
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() |