summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-07 11:56:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-07 11:56:00 +0300
commit561146476411a5df4610427123d3bdbd2c006515 (patch)
tree22e79aadd8d2c5b0f3512d9785a5a0a37cdc3be7 /src/net
parent5cdf6213512fae3f0f7eb960212a3b2eebe62b76 (diff)
downloadplus-561146476411a5df4610427123d3bdbd2c006515.tar.gz
plus-561146476411a5df4610427123d3bdbd2c006515.tar.bz2
plus-561146476411a5df4610427123d3bdbd2c006515.tar.xz
plus-561146476411a5df4610427123d3bdbd2c006515.zip
fix processGuildMemberPosChange.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/guildhandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/ea/guildhandler.cpp b/src/net/ea/guildhandler.cpp
index bc6457765..04b602c63 100644
--- a/src/net/ea/guildhandler.cpp
+++ b/src/net/ea/guildhandler.cpp
@@ -300,10 +300,10 @@ void GuildHandler::processGuildPositionChanged(Net::MessageIn &msg) const
void GuildHandler::processGuildMemberPosChange(Net::MessageIn &msg) const
{
- msg.readInt16(); // Always 16
- const int accountId = msg.readInt32(); // Account ID
- const int charId = msg.readInt32(); // Char ID
- const int pos = msg.readInt32(); // Position
+ msg.readInt16("len");
+ const int accountId = msg.readInt32("account id");
+ const int charId = msg.readInt32("char id");
+ const int pos = msg.readInt32("position");
if (taGuild)
{
GuildMember *const m = taGuild->getMember(accountId, charId);