diff options
author | Simon Howard | 2008-09-28 01:01:33 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-28 01:01:33 +0000 |
commit | b68b16e9382b5a248da7cb7c9c2b791f5955f0a7 (patch) | |
tree | e2447e0be95b7974ccef096e08fabd2fd796c30a /src | |
parent | d8151b7aadff6bc93da8c8b63f35a2ba68a62b03 (diff) | |
download | chocolate-doom-b68b16e9382b5a248da7cb7c9c2b791f5955f0a7.tar.gz chocolate-doom-b68b16e9382b5a248da7cb7c9c2b791f5955f0a7.tar.bz2 chocolate-doom-b68b16e9382b5a248da7cb7c9c2b791f5955f0a7.zip |
Make Heretic main loop not hog the CPU.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1297
Diffstat (limited to 'src')
-rw-r--r-- | src/heretic/d_net.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/heretic/d_net.c b/src/heretic/d_net.c index fb4240bc..f8028e62 100644 --- a/src/heretic/d_net.c +++ b/src/heretic/d_net.c @@ -802,6 +802,9 @@ void TryRunTics(void) MN_Ticker(); return; } + + // Don't hog the CPU + I_Sleep(1); } // |