From cb43ed08c3cf6410fe4ce22dac3d07952db92893 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Sun, 18 May 2008 14:37:21 +0000 Subject: Accept `all' as special argument to `delstuffcmd' command. Cleaned up Cvar_Get and fixed semantic bug. Accept `background keyword in menu scripts. Renamed `gl_fastsky' to `gl_drawsky'. If at least one of the sky env maps fails lo load, disable entire sky drawing. Reworked loading screen. Fixed Com_Quit argument string handling. Catch more signals on *nix. Updated server docs. --- source/net_common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/net_common.c') diff --git a/source/net_common.c b/source/net_common.c index 8232ddf..492df9c 100644 --- a/source/net_common.c +++ b/source/net_common.c @@ -1024,7 +1024,9 @@ void NET_Sleep( int msec ) { timeout.tv_usec = ( msec % 1000 ) * 1000; FD_ZERO( &fdset ); #ifdef __unix__ - FD_SET( 0, &fdset ); // stdin + if( sys_stdio->integer ) { + FD_SET( 0, &fdset ); // stdin + } #endif FD_SET( s, &fdset ); select( s + 1, &fdset, NULL, NULL, &timeout ); -- cgit v1.2.3