diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index 5eaeadc4e..c96be6a06 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -3518,7 +3518,7 @@ void CL_ParseServerMessage (void) Host_EndGame("PEXT_LIGHTSTYLECOL is meant to be disabled\n"); i = MSG_ReadByte (); if (i >= MAX_LIGHTSTYLES) - Sys_Error ("svc_lightstyle > MAX_LIGHTSTYLES"); + Host_EndGame ("svc_lightstyle > MAX_LIGHTSTYLES"); cl_lightstyle[i].colour = MSG_ReadByte(); Q_strncpyz (cl_lightstyle[i].map, MSG_ReadString(), sizeof(cl_lightstyle[i].map)); cl_lightstyle[i].length = Q_strlen(cl_lightstyle[i].map); diff --git a/engine/client/cl_tent.c b/engine/client/cl_tent.c index a2aa8d5d3..e16487db5 100644 --- a/engine/client/cl_tent.c +++ b/engine/client/cl_tent.c @@ -754,7 +754,7 @@ void CL_ParseTEnt (void) #ifdef PEXT_TE_BULLET case TE_BULLET: if (!(cls.fteprotocolextensions & PEXT_TE_BULLET)) - Sys_Error("Thought PEXT_TE_BULLET was disabled"); + Host_EndGame("Thought PEXT_TE_BULLET was disabled"); pos[0] = MSG_ReadCoord (); pos[1] = MSG_ReadCoord (); pos[2] = MSG_ReadCoord ();