shithub: choc

Download patch

ref: b65d4f72edcb5e635554d68e082b6ca6c884d049
parent: 2fd49a65afdcadbc09680552142c6f107715ebbc
author: Simon Howard <fraggle@gmail.com>
date: Thu Aug 31 14:12:25 EDT 2006

Use the new TXT_Sleep function in Doom.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 579

--- a/src/i_system.c
+++ b/src/i_system.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: i_system.c 556 2006-06-03 16:12:08Z fraggle $
+// $Id: i_system.c 579 2006-08-31 18:12:25Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -81,7 +81,7 @@
 //-----------------------------------------------------------------------------
 
 static const char
-rcsid[] = "$Id: i_system.c 556 2006-06-03 16:12:08Z fraggle $";
+rcsid[] = "$Id: i_system.c 579 2006-08-31 18:12:25Z fraggle $";
 
 
 #include <stdlib.h>
@@ -210,7 +210,7 @@
             break;
         }
         
-        I_Sleep(50);
+        TXT_Sleep(0);
     }
     
     // Shut down text mode screen
--- a/src/net_gui.c
+++ b/src/net_gui.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: net_gui.c 542 2006-05-29 20:00:41Z fraggle $
+// $Id: net_gui.c 579 2006-08-31 18:12:25Z fraggle $
 //
 // Copyright(C) 2005 Simon Howard
 //
@@ -209,7 +209,7 @@
             I_Error("Disconnected from server");
         }
 
-        I_Sleep(50);
+        TXT_Sleep(100);
     }
     
     TXT_Shutdown();