]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
changed a server protocol error to use Host_Error
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 7 Nov 2002 20:42:36 +0000 (20:42 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 7 Nov 2002 20:42:36 +0000 (20:42 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2608 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.c

index b18b0668aedd19116d145fc9774fb442bd1b32d1..44e04c88c022eeff0d503fabbd8d0ca5b694f4a6 100644 (file)
@@ -330,7 +330,7 @@ void CL_ParseServerInfo (void)
        i = MSG_ReadLong ();
        if (i != PROTOCOL_VERSION && i != DPPROTOCOL_VERSION1 && i != DPPROTOCOL_VERSION2 && i != DPPROTOCOL_VERSION3 && i != 250)
        {
-               Con_Printf ("Server is protocol %i, not %i, %i, %i or %i", i, DPPROTOCOL_VERSION1, DPPROTOCOL_VERSION2, DPPROTOCOL_VERSION3, PROTOCOL_VERSION);
+               Host_Error ("Server is protocol %i, not %i, %i, %i or %i", i, DPPROTOCOL_VERSION1, DPPROTOCOL_VERSION2, DPPROTOCOL_VERSION3, PROTOCOL_VERSION);
                return;
        }
        Nehahrademcompatibility = false;