Fix flags field not being received in Reply_CLIENT_FIND_SERVER_extended

This commit is contained in:
Jonathan G Rennison
2018-11-27 18:46:48 +00:00
parent b1190b32b0
commit a6c5951b2f
3 changed files with 4 additions and 3 deletions

View File

@@ -225,10 +225,11 @@ void ServerNetworkUDPSocketHandler::Receive_CLIENT_FIND_SERVER(Packet *p, Networ
void ServerNetworkUDPSocketHandler::Reply_CLIENT_FIND_SERVER_extended(Packet *p, NetworkAddress *client_addr, NetworkGameInfo *ngi)
{
uint16 flags = p->Recv_uint16();
uint16 version = p->Recv_uint16();
Packet packet(PACKET_UDP_EX_SERVER_RESPONSE);
this->SendNetworkGameInfoExtended(&packet, ngi, version);
this->SendNetworkGameInfoExtended(&packet, ngi, flags, version);
/* Let the client know that we are here */
this->SendPacket(&packet, client_addr);