summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/gamehandler.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp
index 0da88d8b4..b26fa6159 100644
--- a/src/net/eathena/gamehandler.cpp
+++ b/src/net/eathena/gamehandler.cpp
@@ -180,11 +180,15 @@ void GameHandler::processMapLogin(Net::MessageIn &msg) const
{
unsigned char direction;
uint16_t x, y;
- msg.readInt32(); // server tick
+ msg.readInt32("start time");
msg.readCoordinates(x, y, direction);
- msg.skip(2); // 0x0505
- logger->log("Protocol: Player start position: (%d, %d),"
- " Direction: %d", x, y, direction);
+ msg.readInt8("x size");
+ msg.readInt8("y size");
+ logger->log("Protocol: Player start position: "
+ "(%d, %d), Direction: %d",
+ x, y, direction,
+ "player position and direction");
+ msg.readInt16("font");
mLastHost &= 0xffffff;