diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-12-15 19:03:26 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-12-15 19:03:26 +0000 |
commit | d95b0f66063fb7bb6e0faa2cc3b76cbca33b89e7 (patch) | |
tree | 8d95b2ebbcac92fed7ead1aa2876f7013310419e /source/net_common.c | |
parent | 8f0130537b9fbf8d61033212302612d08a300b6f (diff) |
Put -lm back as it seems to break on non-i386 arches.
Removed `sys_stdio' cvar in favor of `sys_console' on Unix.
Unix client no longer writes anything on stdout by default if
launched without a terminal (e.g. from X session).
Server now uses entity origin instead of view origin when performing PVS/PHS
culling of multicast data (fixes railing/chaining out of the water, etc).
MVD client now clears roll angle of player entities.
Really fixed MVD channel overflow recovery.
Use RTLD_LAZY for loading game library on Unix to work around old mods.
When adjusting lightmap/texture color saturation, calculate luminance
accoring to sRGB colorspace specification.
Fixed OpenGL renderer's PVS glitches when crossing water boundaries.
Re-enable MD3 model support.
Diffstat (limited to 'source/net_common.c')
-rw-r--r-- | source/net_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/net_common.c b/source/net_common.c index 0266172..0067bfc 100644 --- a/source/net_common.c +++ b/source/net_common.c @@ -1235,8 +1235,8 @@ void NET_Sleep( int msec ) { timeout.tv_sec = msec / 1000; timeout.tv_usec = ( msec % 1000 ) * 1000; FD_ZERO( &fdset ); -#ifdef __unix__ - if( sys_stdio->integer ) { +#if USE_SYSCON && ( defined __unix__ ) + if( sys_console->integer ) { FD_SET( 0, &fdset ); // stdin } #endif |