mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-29 05:20:23 +01:00
engine: client: support svc_disconnect reason messages for GoldSrc protocol
This commit is contained in:
parent
0b2cc066dd
commit
10bfadb556
@ -553,6 +553,9 @@ void CL_ParseGoldSrcServerMessage( sizebuf_t *msg )
|
|||||||
// this does nothing
|
// this does nothing
|
||||||
break;
|
break;
|
||||||
case svc_disconnect:
|
case svc_disconnect:
|
||||||
|
s = MSG_ReadString( msg );
|
||||||
|
if( COM_CheckStringEmpty( s ))
|
||||||
|
Con_Printf( "Server issued disconnect. Reason: %s\n", s );
|
||||||
CL_Drop ();
|
CL_Drop ();
|
||||||
Host_AbortCurrentFrame ();
|
Host_AbortCurrentFrame ();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user