Using 100% CPU while effectively doing nothing is bad, mmkay?

git-svn-id: https://svn.eduke32.com/eduke32@95 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-04-23 04:49:52 +00:00
parent d99888e472
commit ef2aa46a05

View file

@ -366,6 +366,13 @@ long initmultiplayersparms(long argc, char **argv)
long initmultiplayerscycle(void)
{
long i, k;
extern long totalclock;
#ifdef _WIN32
Sleep(1);
#else
usleep(1);
#endif
getpacket(&i,0);