engine: client: fix parsing of legacy goldsrc A2S_INFO response format

This commit is contained in:
Alibek Omarov
2026-06-22 17:39:11 +05:00
parent 2f776a6173
commit 44313e624c

View File

@@ -2087,7 +2087,6 @@ static void CL_ParseGoldSrcStatusMessage( netadr_t from, sizebuf_t *msg, qboolea
string address; string address;
int mod; int mod;
p = MSG_ReadByte( msg );
Q_strncpy( address, MSG_ReadString( msg ), sizeof( address )); Q_strncpy( address, MSG_ReadString( msg ), sizeof( address ));
Q_strncpy( host, MSG_ReadString( msg ), sizeof( host )); Q_strncpy( host, MSG_ReadString( msg ), sizeof( host ));
Q_strncpy( map, MSG_ReadString( msg ), sizeof( map )); Q_strncpy( map, MSG_ReadString( msg ), sizeof( map ));