forgot to fix the server error printing

This commit is contained in:
Bill Currie 2002-05-21 21:06:27 +00:00
parent 1b550c80b1
commit 69c6bb767b

View file

@ -260,10 +260,12 @@ SV_Error (const char *error, va_list argptr)
dstring_appendstr (string, "\n"); dstring_appendstr (string, "\n");
SV_FinalMessage (string->str); SV_FinalMessage (string->str);
if (con_module) if (con_module) {
con_module->functions->console->pC_Print (error, argptr); con_module->functions->console->pC_Print (error, argptr);
else con_module->functions->console->pC_Print ("\n", 0);
} else {
Sys_Print (stderr, error, argptr); Sys_Print (stderr, error, argptr);
}
} }
/* /*