Fix mishandling of PACKET_SERVER_MAP_BEGIN queuing at server
This could result in broken packet framing in the TCP stream
This commit is contained in:
@@ -44,7 +44,7 @@ public:
|
||||
|
||||
NetworkRecvStatus CloseConnection(bool error = true) override;
|
||||
void SendPacket(std::unique_ptr<Packet> packet);
|
||||
void SendPrependPacket(std::unique_ptr<Packet> packet);
|
||||
void SendPrependPacket(std::unique_ptr<Packet> packet, int queue_after_packet_type);
|
||||
|
||||
void SendPacket(Packet *packet)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user