diff options
author | Rogier Polak <rogier.l.a.polak@gmail.com> | 2007-02-25 15:12:43 +0000 |
---|---|---|
committer | Rogier Polak <rogier.l.a.polak@gmail.com> | 2007-02-25 15:12:43 +0000 |
commit | 0ee4b4d0229d8513eb2a71cc735d8807fde57f29 (patch) | |
tree | 9a462fb8af3d13c813742e4d20ff7f0fb1b7deb8 /src/main.cpp | |
parent | 775404c84c3250225d43f10c4a5363e997618cb2 (diff) | |
download | mana-client-0ee4b4d0229d8513eb2a71cc735d8807fde57f29.tar.gz mana-client-0ee4b4d0229d8513eb2a71cc735d8807fde57f29.tar.bz2 mana-client-0ee4b4d0229d8513eb2a71cc735d8807fde57f29.tar.xz mana-client-0ee4b4d0229d8513eb2a71cc735d8807fde57f29.zip |
Fixed small issue concerning SDL timers, removed a useless variable.
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); |