X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=tools%2Fquake2%2Fcommon%2Fcmdlib.c;h=90c2453efceaa714eb3429c29f6e33c9e5de1be7;hb=3646c894a9193c8b9c09e3d61eace065feede473;hp=db6e2418fb55fdafd44654c8ce098e712c0a3a00;hpb=dac8329952745dbb494bad1c301e44bab05ec0db;p=xonotic%2Fnetradiant.git diff --git a/tools/quake2/common/cmdlib.c b/tools/quake2/common/cmdlib.c index db6e2418..90c2453e 100644 --- a/tools/quake2/common/cmdlib.c +++ b/tools/quake2/common/cmdlib.c @@ -308,21 +308,6 @@ double I_FloatTime( void ){ time( &t ); return t; -#if 0 -// more precise, less portable - struct timeval tp; - struct timezone tzp; - static int secbase; - - gettimeofday( &tp, &tzp ); - - if ( !secbase ) { - secbase = tp.tv_sec; - return tp.tv_usec / 1000000.0; - } - - return ( tp.tv_sec - secbase ) + tp.tv_usec / 1000000.0; -#endif } void Q_getwd( char *out ){