summaryrefslogtreecommitdiff
path: root/src/net/ea/charserverhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-08-04 14:20:39 -0600
committerJared Adams <jaxad0127@gmail.com>2009-08-04 14:20:39 -0600
commit5c578f9d64bfcc0dbd81d9c6bad549a65bd1ad32 (patch)
tree6f3932e2bb75fe6dcc43a5cad5b5e260cf4e368a /src/net/ea/charserverhandler.cpp
parent7681c909322c65356bac25a334c16650dddde687 (diff)
downloadmana-5c578f9d64bfcc0dbd81d9c6bad549a65bd1ad32.tar.gz
mana-5c578f9d64bfcc0dbd81d9c6bad549a65bd1ad32.tar.bz2
mana-5c578f9d64bfcc0dbd81d9c6bad549a65bd1ad32.tar.xz
mana-5c578f9d64bfcc0dbd81d9c6bad549a65bd1ad32.zip
Remove an unused field from character login
This was part of the merge from Aethyra.
Diffstat (limited to 'src/net/ea/charserverhandler.cpp')
-rw-r--r--src/net/ea/charserverhandler.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index 811cfdce..762652a0 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -61,18 +61,16 @@ CharServerHandler::CharServerHandler():
void CharServerHandler::handleMessage(MessageIn &msg)
{
- int slot, flags;
+ int slot;
LocalPlayer *tempPlayer;
logger->log("CharServerHandler: Packet ID: %x, Length: %d",
msg.getId(), msg.getLength());
switch (msg.getId())
{
- case 0x006b:
+ case SMSG_CHAR_LOGIN:
msg.skip(2); // Length word
- flags = msg.readInt32(); // Aethyra extensions flags
- logger->log("Server flags are: %x", flags);
- msg.skip(16); // Unused
+ msg.skip(20); // Unused
// Derive number of characters from message length
n_character = (msg.getLength() - 24) / 106;