summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/generalhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwserv/generalhandler.cpp')
-rw-r--r--src/net/tmwserv/generalhandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwserv/generalhandler.cpp b/src/net/tmwserv/generalhandler.cpp
index 0a0ca346..8a47e6f9 100644
--- a/src/net/tmwserv/generalhandler.cpp
+++ b/src/net/tmwserv/generalhandler.cpp
@@ -52,6 +52,8 @@ Net::Connection *gameServerConnection = 0;
Net::Connection *chatServerConnection = 0;
Net::Connection *accountServerConnection = 0;
+std::list<ItemDB::Stat*> stats;
+
namespace TmwServ {
GeneralHandler::GeneralHandler():
@@ -77,7 +79,6 @@ GeneralHandler::GeneralHandler():
generalHandler = this;
- std::list<ItemDB::Stat*> stats;
ItemDB::Stat stat;
stat.tag = "str"; stat.format = N_("Strength: %d");
stats.push_back(&stat);