diff options
-rw-r--r-- | src/net/ea/generalhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwserv/generalhandler.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/net/ea/generalhandler.cpp b/src/net/ea/generalhandler.cpp index b8d75671..477caf94 100644 --- a/src/net/ea/generalhandler.cpp +++ b/src/net/ea/generalhandler.cpp @@ -59,6 +59,7 @@ #include <list> Net::GeneralHandler *generalHandler; +std::list<ItemDB::Stat*> stats; namespace EAthena { @@ -87,7 +88,6 @@ GeneralHandler::GeneralHandler(): handledMessages = _messages; generalHandler = this; - std::list<ItemDB::Stat*> stats; ItemDB::Stat stat; stat.tag = "str"; stat.format = N_("Strength: %d"); stats.push_back(&stat); 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); |