summaryrefslogtreecommitdiff
path: root/src/heretic
diff options
context:
space:
mode:
authorSimon Howard2008-09-28 01:01:33 +0000
committerSimon Howard2008-09-28 01:01:33 +0000
commitb68b16e9382b5a248da7cb7c9c2b791f5955f0a7 (patch)
treee2447e0be95b7974ccef096e08fabd2fd796c30a /src/heretic
parentd8151b7aadff6bc93da8c8b63f35a2ba68a62b03 (diff)
downloadchocolate-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/heretic')
-rw-r--r--src/heretic/d_net.c3
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);
}
//