From f6f6683177abd0f786b34d3d2bd689d615c899e0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 12 Sep 2016 22:35:00 +0300 Subject: Fix some packet sizes for version 20080827. --- src/net/eathena/playerhandler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/eathena/playerhandler.cpp') diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 51e597912..ccffde7a6 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -390,6 +390,8 @@ void PlayerHandler::setDestination(const int x, const int y, const int direction) const { createOutPacket(CMSG_PLAYER_CHANGE_DEST); + if (packetVersion >= 20080827 && packetVersion < 20101124) + outMsg.writeInt32(0, "unused"); outMsg.writeCoordinates(CAST_U16(x), CAST_U16(y), CAST_U8(direction), "destination"); -- cgit v1.2.3-70-g09d2