summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i_system.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/i_system.c b/src/i_system.c
index 216522d2..760ee20a 100644
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: i_system.c 579 2006-08-31 18:12:25Z fraggle $
+// $Id: i_system.c 610 2006-09-17 17:01:33Z 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 579 2006-08-31 18:12:25Z fraggle $";
+rcsid[] = "$Id: i_system.c 610 2006-09-17 17:01:33Z fraggle $";
#include <stdlib.h>
@@ -177,8 +177,6 @@ void I_Endoom(void)
{
unsigned char *endoom_data;
unsigned char *screendata;
- unsigned int start_ms;
- boolean waiting;
endoom_data = W_CacheLumpName("ENDOOM", PU_STATIC);
@@ -196,12 +194,9 @@ void I_Endoom(void)
screendata = TXT_GetScreenData();
memcpy(screendata, endoom_data, 4000);
- // Wait for 10 seconds, or until a keypress or mouse click
+ // Wait for a keypress
- waiting = true;
- start_ms = I_GetTime();
-
- while (waiting && I_GetTime() < start_ms + 350)
+ while (true)
{
TXT_UpdateScreen();