diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp index e953d456..7fa996af 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -88,9 +88,7 @@ #include "utils/dtor.h" #include "utils/tostring.h" -// Account infos -char n_character; -std::string token; +std::string token; //used to store magic_token Graphics *graphics; @@ -441,7 +439,6 @@ void accountLogin(LoginData *loginData) Net::registerHandler(&loginHandler); - charInfo.clear(); charServerHandler.setCharInfo(&charInfo); Net::registerHandler(&charServerHandler); @@ -467,7 +464,6 @@ void accountRegister(LoginData *loginData) Net::registerHandler(&loginHandler); - charInfo.clear(); charServerHandler.setCharInfo(&charInfo); Net::registerHandler(&charServerHandler); @@ -571,7 +567,6 @@ void reconnectAccount(const std::string& passToken) { Net::registerHandler(&loginHandler); - charInfo.clear(); charServerHandler.setCharInfo(&charInfo); Net::registerHandler(&charServerHandler); |