]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
remove an unnecessary check in Sys_Sleep
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 14 Feb 2008 23:01:01 +0000 (23:01 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 14 Feb 2008 23:01:01 +0000 (23:01 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8095 d7cf8633-e32d-0410-b094-e92efae38249

sys_linux.c

index 1d90973c68c798a11fc16f26457df4b76970bf67..7439c27fd3e86246c53c6244f059cfda55d44293 100644 (file)
@@ -218,8 +218,6 @@ void Sys_Sleep(int microseconds)
 #ifdef WIN32
        Sleep(microseconds / 1000);
 #else
-       if (microseconds < 1)
-               microseconds = 1;
        usleep(microseconds);
 #endif
 }