summaryrefslogtreecommitdiff
path: root/src/net/ea/specialhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-12-18 17:19:28 +0300
committerAndrei Karas <akaras@inbox.ru>2011-12-18 17:19:28 +0300
commit722404ad29f268ef8861c62b038c4e14652c7555 (patch)
treef38d57adaba7bbe103f48bf3fd0b92c99d2c5329 /src/net/ea/specialhandler.cpp
parentba997be747666c74c46c734cb636a8de84c582b3 (diff)
downloadplus-722404ad29f268ef8861c62b038c4e14652c7555.tar.gz
plus-722404ad29f268ef8861c62b038c4e14652c7555.tar.bz2
plus-722404ad29f268ef8861c62b038c4e14652c7555.tar.xz
plus-722404ad29f268ef8861c62b038c4e14652c7555.zip
Ad comments for "unused" data from server packets.
Fix some guild and worlds packets.
Diffstat (limited to 'src/net/ea/specialhandler.cpp')
-rw-r--r--src/net/ea/specialhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/specialhandler.cpp b/src/net/ea/specialhandler.cpp
index fe56db52a..4abcb004e 100644
--- a/src/net/ea/specialhandler.cpp
+++ b/src/net/ea/specialhandler.cpp
@@ -87,11 +87,11 @@ void SpecialHandler::processPlayerSkills(Net::MessageIn &msg)
{
int skillId = msg.readInt16();
msg.readInt16(); // target type
- msg.skip(2); // unused
+ msg.skip(2); // skill pool flags
int level = msg.readInt16();
msg.readInt16(); // sp
msg.readInt16(); // range
- msg.skip(24); // unused
+ msg.skip(24); // 0 unused
int up = msg.readInt8();
PlayerInfo::setStatBase(skillId, level);