mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 21:50:59 +01:00
engine: server: send protocol version to distinguish old engine and new
This commit is contained in:
parent
51fcae8cec
commit
12da44a3d7
@ -843,6 +843,8 @@ void SV_Info( netadr_t from )
|
||||
if( svs.clients[i].state >= cs_connected )
|
||||
count++;
|
||||
|
||||
// a1ba: send protocol version to distinguish old engine and new
|
||||
Info_SetValueForKey( string, "p", va( "%i", PROTOCOL_VERSION ), MAX_INFO_STRING );
|
||||
Info_SetValueForKey( string, "host", hostname.string, MAX_INFO_STRING );
|
||||
Info_SetValueForKey( string, "map", sv.name, MAX_INFO_STRING );
|
||||
Info_SetValueForKey( string, "dm", va( "%i", (int)svgame.globals->deathmatch ), MAX_INFO_STRING );
|
||||
|
Loading…
Reference in New Issue
Block a user