From 561146476411a5df4610427123d3bdbd2c006515 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 7 Oct 2014 11:56:00 +0300 Subject: fix processGuildMemberPosChange. --- src/net/ea/guildhandler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2