Core/PacketIO: Add some (possible) missing FlushBits
This commit is contained in:
1 parent
fc318a2da7
commit
da2db28cab
10 files changed
+43
-31
No files matched your search
@@ -672,6 +672,7 @@ void WorldSession::SendAuthWaitQue(uint32 position)
|
||||
WorldPacket packet(SMSG_AUTH_RESPONSE, 1);
|
||||
packet.WriteBit(0); // has queue info
|
||||
packet.WriteBit(0); // has account info
|
||||
packet.FlushBits();
|
||||
packet << uint8(AUTH_OK);
|
||||
SendPacket(&packet);
|
||||
}
|
||||
@@ -681,6 +682,7 @@ void WorldSession::SendAuthWaitQue(uint32 position)
|
||||
packet.WriteBit(1); // has queue info
|
||||
packet.WriteBit(0); // unk queue bool
|
||||
packet.WriteBit(0); // has account info
|
||||
packet.FlushBits();
|
||||
packet << uint8(AUTH_WAIT_QUEUE);
|
||||
packet << uint32(position);
|
||||
SendPacket(&packet);
|
||||
|
||||
Reference in new issue
Block a user