Fix for insta-crash bug to do with sys_nostdout being checked before it was registered (grabbed solution from sys_unix.c)

This commit is contained in:
Forest Hale 2000-11-01 03:54:43 +00:00
parent 760c9996d4
commit 41a62ccfc2

View file

@ -119,7 +119,7 @@ void Sys_Printf (char *fmt, ...)
unsigned char *p;
if (sys_nostdout->int_val)
if (sys_nostdout && sys_nostdout->int_val)
return;
va_start (argptr, fmt);