summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-12 22:35:00 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-12 23:30:12 +0300
commitf6f6683177abd0f786b34d3d2bd689d615c899e0 (patch)
treee3931b87a8f9a2f57a6f88c6809991f5e40662db /src/net/eathena/playerhandler.cpp
parent5a94fab3a68ff5769aa6f2889da582a60ce32864 (diff)
downloadplus-f6f6683177abd0f786b34d3d2bd689d615c899e0.tar.gz
plus-f6f6683177abd0f786b34d3d2bd689d615c899e0.tar.bz2
plus-f6f6683177abd0f786b34d3d2bd689d615c899e0.tar.xz
plus-f6f6683177abd0f786b34d3d2bd689d615c899e0.zip
Fix some packet sizes for version 20080827.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp2
1 files changed, 2 insertions, 0 deletions
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");