shithub: choc

Download patch

ref: b68b16e9382b5a248da7cb7c9c2b791f5955f0a7
parent: d8151b7aadff6bc93da8c8b63f35a2ba68a62b03
author: Simon Howard <[email protected]>
date: Sat Sep 27 21:01:33 EDT 2008

Make Heretic main loop not hog the CPU.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1297

--- a/src/heretic/d_net.c
+++ b/src/heretic/d_net.c
@@ -802,6 +802,9 @@
             MN_Ticker();
             return;
         }
+
+	// Don't hog the CPU
+	I_Sleep(1);
     }
 
 //