From 8066f712e06af6e8287469a4e01a9fc9e553d2cb Mon Sep 17 00:00:00 2001 From: Shpoike Date: Thu, 29 Jun 2023 04:13:35 +0100 Subject: [PATCH] Q2 server browser was failing to list any servers. --- engine/client/net_master.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/net_master.c b/engine/client/net_master.c index c9e0e4701..2dd686fd9 100644 --- a/engine/client/net_master.c +++ b/engine/client/net_master.c @@ -2299,14 +2299,14 @@ void Master_CheckPollSockets(void) #ifdef HAVE_IPV6 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); continue; } #endif 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); continue; }