Q2 server browser was failing to list any servers.

This commit is contained in:
Shpoike 2023-06-29 04:13:35 +01:00
parent d59c63f545
commit 8066f712e0

View file

@ -2299,14 +2299,14 @@ void Master_CheckPollSockets(void)
#ifdef HAVE_IPV6 #ifdef HAVE_IPV6
if (!strncmp(s, "server6", 7)) //parse a bit more... if (!strncmp(s, "server6", 7)) //parse a bit more...
{ {
net_message.currentbit = (c+7)<<3; net_message.currentbit = c+(7<<3);
CL_MasterListParse(NA_IPV6, SS_QUAKE2, false); CL_MasterListParse(NA_IPV6, SS_QUAKE2, false);
continue; continue;
} }
#endif #endif
if (!strncmp(s, "servers", 7)) //parse a bit more... if (!strncmp(s, "servers", 7)) //parse a bit more...
{ {
net_message.currentbit = (c+7)<<3; net_message.currentbit = c+(7<<3);
CL_MasterListParse(NA_IP, SS_QUAKE2, false); CL_MasterListParse(NA_IP, SS_QUAKE2, false);
continue; continue;
} }