diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-12 20:53:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-12 20:53:54 +0300 |
commit | 8b8efe383c502456a36d0f0faf5a2079b816243d (patch) | |
tree | 6224cd987b9820999c77e1898fea19df913674fc /src/net/eathena/playerhandler.cpp | |
parent | 1425c495898e604c83db58f0bc4f53a4ac7c1df0 (diff) | |
download | manaverse-8b8efe383c502456a36d0f0faf5a2079b816243d.tar.gz manaverse-8b8efe383c502456a36d0f0faf5a2079b816243d.tar.bz2 manaverse-8b8efe383c502456a36d0f0faf5a2079b816243d.tar.xz manaverse-8b8efe383c502456a36d0f0faf5a2079b816243d.zip |
Fix version for market and some other packets.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index b0edf5c1c..51e597912 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -454,8 +454,11 @@ void PlayerHandler::setShortcut(const int idx, void PlayerHandler::shortcutShiftRow(const int row) const { - if (serverVersion != 0 && serverVersion < 11) + if (packetVersion < 20141022 || + (serverVersion != 0 && serverVersion < 11)) + { return; + } createOutPacket(CMSG_SHORTCUTS_ROW_SHIFT); outMsg.writeInt8(CAST_S8(row), "row"); } |