Core/Entities: Fixed declining a group invitation
This commit is contained in:
1 parent
def294523f
commit
56df638092
1 file changed
+6
-3
@@ -327,9 +327,12 @@ void WorldSession::HandleGroupInviteResponseOpcode(WorldPacket& recvData)
|
||||
{
|
||||
sLog->outDebug(LOG_FILTER_NETWORKIO, "WORLD: Received CMSG_GROUP_INVITE_RESPONSE");
|
||||
|
||||
bool accept = !recvData.ReadBit();
|
||||
if (!accept)
|
||||
recvData.read_skip<uint32>(); // unk
|
||||
recvData.ReadBit(); // unk always 0
|
||||
bool accept = recvData.ReadBit();
|
||||
|
||||
// Never actually received?
|
||||
/*if (accept)
|
||||
recvData.read_skip<uint32>(); // unk*/
|
||||
|
||||
Group* group = GetPlayer()->GetGroupInvite();
|
||||
|
||||
|
||||
Reference in new issue
Block a user