2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 19:30:08 +01:00

engine: client: support svc_disconnect reason messages for GoldSrc protocol

This commit is contained in:
Alibek Omarov 2024-10-11 20:58:46 +03:00
parent 0b2cc066dd
commit 10bfadb556

View File

@ -553,6 +553,9 @@ void CL_ParseGoldSrcServerMessage( sizebuf_t *msg )
// this does nothing
break;
case svc_disconnect:
s = MSG_ReadString( msg );
if( COM_CheckStringEmpty( s ))
Con_Printf( "Server issued disconnect. Reason: %s\n", s );
CL_Drop ();
Host_AbortCurrentFrame ();
break;