summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2013-04-06 00:48:47 +0000
committerSimon Howard2013-04-06 00:48:47 +0000
commit2a6a4f36231cccd5b95029ee3f287657031552f5 (patch)
tree10ee401637f180be3396bd6dc90e499f640f772d
parentcffe694cd613ac7c1a738f50e883a904d2813047 (diff)
downloadchocolate-doom-2a6a4f36231cccd5b95029ee3f287657031552f5.tar.gz
chocolate-doom-2a6a4f36231cccd5b95029ee3f287657031552f5.tar.bz2
chocolate-doom-2a6a4f36231cccd5b95029ee3f287657031552f5.zip
Don't hog the CPU when waiting for the game to start.
Subversion-branch: /branches/v2-branch Subversion-revision: 2587
-rw-r--r--src/d_loop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/d_loop.c b/src/d_loop.c
index 8dad478d..558d16b7 100644
--- a/src/d_loop.c
+++ b/src/d_loop.c
@@ -331,6 +331,8 @@ static void BlockUntilStart(net_gamesettings_t *settings,
{
I_Error("Netgame startup aborted.");
}
+
+ I_Sleep(100);
}
}