diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-01 03:03:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-01 03:03:11 +0300 |
commit | 0e1fefa2a4319738f7ab2a8a0e10be8a9e2b6ebc (patch) | |
tree | 0d8535801640b3f492d2b3db20a20e47176de28d /src/net/eathena/playerrecv.cpp | |
parent | d5b524c02308c1db5c5ebba96fa9abf8db0da2de (diff) | |
download | manaplus-0e1fefa2a4319738f7ab2a8a0e10be8a9e2b6ebc.tar.gz manaplus-0e1fefa2a4319738f7ab2a8a0e10be8a9e2b6ebc.tar.bz2 manaplus-0e1fefa2a4319738f7ab2a8a0e10be8a9e2b6ebc.tar.xz manaplus-0e1fefa2a4319738f7ab2a8a0e10be8a9e2b6ebc.zip |
Add packet SMSG_PLAYER_SHORTCUTS 0x07d9.
Diffstat (limited to 'src/net/eathena/playerrecv.cpp')
-rw-r--r-- | src/net/eathena/playerrecv.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index 28f3fe96d..e46eceab9 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -52,7 +52,8 @@ void PlayerRecv::processPlayerShortcuts(Net::MessageIn &msg) { // +++ player shortcuts ignored. It also disabled on server side. // may be in future better use it? - msg.readUInt8("unused?"); + if (msg.getVersion() >= 20141022) + msg.readUInt8("rotate"); for (int f = 0; f < 27; f ++) { msg.readUInt8("type 0: item, 1: skill"); |