|
|
@ -2226,11 +2226,11 @@ void CL_ParseServerMessage( sizebuf_t *msg, qboolean normal_message ) |
|
|
|
case svc_stufftext: |
|
|
|
case svc_stufftext: |
|
|
|
s = MSG_ReadString( msg ); |
|
|
|
s = MSG_ReadString( msg ); |
|
|
|
#ifdef HACKS_RELATED_HLMODS |
|
|
|
#ifdef HACKS_RELATED_HLMODS |
|
|
|
// dsiable Cry Of Fear antisave protection
|
|
|
|
// disable Cry Of Fear antisave protection
|
|
|
|
if( !Q_strnicmp( s, "disconnect", 10 ) && cls.signon != SIGNONS ) |
|
|
|
if( !Q_strnicmp( s, "disconnect", 10 ) && cls.signon != SIGNONS ) |
|
|
|
break; // too early
|
|
|
|
break; // too early
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|
Cbuf_AddText( s ); |
|
|
|
Cbuf_AddFilteredText( s ); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case svc_setangle: |
|
|
|
case svc_setangle: |
|
|
|
CL_ParseSetAngle( msg ); |
|
|
|
CL_ParseSetAngle( msg ); |
|
|
@ -2994,13 +2994,13 @@ void CL_ParseLegacyServerMessage( sizebuf_t *msg, qboolean normal_message ) |
|
|
|
case svc_stufftext: |
|
|
|
case svc_stufftext: |
|
|
|
s = MSG_ReadString( msg ); |
|
|
|
s = MSG_ReadString( msg ); |
|
|
|
#ifdef HACKS_RELATED_HLMODS |
|
|
|
#ifdef HACKS_RELATED_HLMODS |
|
|
|
// dsiable Cry Of Fear antisave protection
|
|
|
|
// disable Cry Of Fear antisave protection
|
|
|
|
if( !Q_strnicmp( s, "disconnect", 10 ) && cls.signon != SIGNONS ) |
|
|
|
if( !Q_strnicmp( s, "disconnect", 10 ) && cls.signon != SIGNONS ) |
|
|
|
break; // too early
|
|
|
|
break; // too early
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
Con_Reportf( "Stufftext: %s", s ); |
|
|
|
Con_Reportf( "Stufftext: %s", s ); |
|
|
|
Cbuf_AddText( s ); |
|
|
|
Cbuf_AddFilteredText( s ); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case svc_setangle: |
|
|
|
case svc_setangle: |
|
|
|
CL_ParseSetAngle( msg ); |
|
|
|
CL_ParseSetAngle( msg ); |
|
|
|