diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-01 23:37:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:55 +0300 |
commit | c8bc9c87d58ba40581da09aa30c79b43f47e0cb0 (patch) | |
tree | f540992311d0f19b208df1990c67ab01261209a5 /src/net/eathena/playerhandler.cpp | |
parent | d4fc48e1130b7bbfb0d09820ff53142cd4efb68c (diff) | |
download | mv-c8bc9c87d58ba40581da09aa30c79b43f47e0cb0.tar.gz mv-c8bc9c87d58ba40581da09aa30c79b43f47e0cb0.tar.bz2 mv-c8bc9c87d58ba40581da09aa30c79b43f47e0cb0.tar.xz mv-c8bc9c87d58ba40581da09aa30c79b43f47e0cb0.zip |
eathena: fix handling packet SMSG_PLAYER_SHORTCUTS 0x07d9.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 150e86d6c..81068b959 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -230,9 +230,9 @@ void PlayerHandler::processPlayerShortcuts(Net::MessageIn &msg) { for (int f = 0; f < 27; f ++) { - msg.readUInt8(); // type 0: item, 1: skill - msg.readInt32(); // item or skill id - msg.readInt16(); // lvl + msg.readUInt8("type 0: item, 1: skill"); + msg.readInt32("item or skill id"); + msg.readInt16("skill level"); } } |