engine: client: support svc_disconnect reason messages for GoldSrc protocol
This commit is contained in:
parent
0b2cc066dd
commit
10bfadb556
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue