diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-07 11:56:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-07 11:56:00 +0300 |
commit | 561146476411a5df4610427123d3bdbd2c006515 (patch) | |
tree | 22e79aadd8d2c5b0f3512d9785a5a0a37cdc3be7 /src | |
parent | 5cdf6213512fae3f0f7eb960212a3b2eebe62b76 (diff) | |
download | manaplus-561146476411a5df4610427123d3bdbd2c006515.tar.gz manaplus-561146476411a5df4610427123d3bdbd2c006515.tar.bz2 manaplus-561146476411a5df4610427123d3bdbd2c006515.tar.xz manaplus-561146476411a5df4610427123d3bdbd2c006515.zip |
fix processGuildMemberPosChange.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/ea/guildhandler.cpp | 8 |
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); |