diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-03-23 00:38:23 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-03-23 00:38:23 +0000 |
commit | 37a7b026881ce23fb22ae66b32c8ef9695e8a0de (patch) | |
tree | 31d951e855ce29ba51bdc5b79862078a5fac5cf6 /src/account-server | |
parent | 164f19d705d0fc5745b7dda0547c23d1d06d05a1 (diff) | |
download | manaserv-37a7b026881ce23fb22ae66b32c8ef9695e8a0de.tar.gz manaserv-37a7b026881ce23fb22ae66b32c8ef9695e8a0de.tar.bz2 manaserv-37a7b026881ce23fb22ae66b32c8ef9695e8a0de.tar.xz manaserv-37a7b026881ce23fb22ae66b32c8ef9695e8a0de.zip |
Mostly fixed some compilation issues.
Diffstat (limited to 'src/account-server')
-rw-r--r-- | src/account-server/accountclient.cpp | 4 | ||||
-rw-r--r-- | src/account-server/accounthandler.cpp | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/account-server/accountclient.cpp b/src/account-server/accountclient.cpp index c17e95a8..383a809d 100644 --- a/src/account-server/accountclient.cpp +++ b/src/account-server/accountclient.cpp @@ -29,9 +29,9 @@ AccountClient::AccountClient(ENetPeer *peer): NetComputer(peer), + status(CLIENT_LOGIN), mAccountPtr(NULL), - mCharacterPtr(NULL), - status(CLIENT_LOGIN) + mCharacterPtr(NULL) { } diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp index 9d9949f3..52ea2b33 100644 --- a/src/account-server/accounthandler.cpp +++ b/src/account-server/accounthandler.cpp @@ -267,7 +267,7 @@ handleReconnectMessage(AccountClient &computer, MessageIn &msg) { if (computer.status != CLIENT_LOGIN) { - LOG_DEBUG("Account tried to reconnect, but was allready logged in " + LOG_DEBUG("Account tried to reconnect, but was already logged in " << "or queued."); return; } @@ -563,8 +563,6 @@ AccountHandler::handleCharacterCreateMessage(AccountClient &computer, for (int i = 0; i < NB_BASE_ATTRIBUTES; ++i) attributes[i] = msg.readShort(); - // We see if the difference between the lowest stat and the highest - // isn't too big. unsigned int totalAttributes = 0; bool validNonZeroAttributes = true; for (int i = 0; i < NB_BASE_ATTRIBUTES; ++i) |