kill the usleep. I don't know why, nor do I really care, but it causes qw to

not run at full speed even though it shouldn't.
This commit is contained in:
Bill Currie 2002-02-18 19:21:53 +00:00
parent d1fcfd1939
commit 70194567fe

View file

@ -45,9 +45,6 @@ static const char rcsid[] =
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_WINSOCK_H
# include <winsock.h>
#endif
@ -1462,10 +1459,6 @@ Host_Frame (float time)
// decide the simulation time
if ((sleeptime = Host_SimulationTime (time)) != 0) {
#ifdef HAVE_USLEEP
if (sleeptime > 0.002) // minimum sleep time
usleep ((unsigned long)(sleeptime * 1000000 / 2));
#endif
return; // framerate is too high
}