]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_demo.c
Implement Con_Error(f) and Con_Warn(f), error and warning, for prettier colors
[xonotic/darkplaces.git] / sv_demo.c
index 9a9cc1641feda26a1d3c4256b4f9fd540e68e4d7..a1bc51d50fc81d6acf8835c7eb7f51813a022a82 100644 (file)
--- a/sv_demo.c
+++ b/sv_demo.c
@@ -22,7 +22,7 @@ void SV_StartDemoRecording(client_t *client, const char *filename, int forcetrac
        client->sv_demo_file = FS_OpenRealFile(name, "wb", false);
        if(!client->sv_demo_file)
        {
-               Con_Print("ERROR: couldn't open.\n");
+               Con_Error("ERROR: couldn't open.\n");
                return;
        }