summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-01 23:37:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:55 +0300
commitc8bc9c87d58ba40581da09aa30c79b43f47e0cb0 (patch)
treef540992311d0f19b208df1990c67ab01261209a5 /src/net/eathena/playerhandler.cpp
parentd4fc48e1130b7bbfb0d09820ff53142cd4efb68c (diff)
downloadmanaverse-c8bc9c87d58ba40581da09aa30c79b43f47e0cb0.tar.gz
manaverse-c8bc9c87d58ba40581da09aa30c79b43f47e0cb0.tar.bz2
manaverse-c8bc9c87d58ba40581da09aa30c79b43f47e0cb0.tar.xz
manaverse-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.cpp6
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");
}
}