Fix nostdout bug ...

This commit is contained in:
Dabb 2000-08-17 13:38:57 +00:00
parent e41b8e7faa
commit 576a32782a
3 changed files with 8 additions and 3 deletions

View file

@ -65,6 +65,8 @@ HANDLE qwclsemaphore;
static HANDLE tevent;
extern cvar_t *sys_nostdout;
void Sys_InitFloatTime (void);
void MaskExceptions (void);
@ -518,6 +520,7 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin
if (!tevent)
Sys_Error ("Couldn't create event");
sys_nostdout = Cvar_Get("sys_nostdout", "0", CVAR_NONE, "None");
// because sound is off until we become active
S_BlockSound ();

View file

@ -44,7 +44,7 @@
qboolean is_server = true;
qboolean WinNT;
cvar_t *sys_nostdout;
extern cvar_t *sys_nostdout;
cvar_t *sys_sleep;
/*

View file

@ -38,6 +38,8 @@
/* This is unused in the client, but we need the symbol there too. */
server_static_t svs;
cvar_t *sys_nostdout;
/* The translation table between the graphical font and plain ASCII --KB */
static char qfont_table[256] =
{