summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2006-03-06 20:44:43 +0000
committerSimon Howard2006-03-06 20:44:43 +0000
commit3277c11075b4080032618cb4e503f0af71b95132 (patch)
tree13abd8780a0d98aac06f9d2a1e45a913af806d04 /src
parentad13f9f26caa0d03fd71750bd20e834803693887 (diff)
downloadchocolate-doom-3277c11075b4080032618cb4e503f0af71b95132.tar.gz
chocolate-doom-3277c11075b4080032618cb4e503f0af71b95132.tar.bz2
chocolate-doom-3277c11075b4080032618cb4e503f0af71b95132.zip
Do not run TryRunTics until after we have started demo recording. Fix
crash when recording demos. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 408
Diffstat (limited to 'src')
-rw-r--r--src/d_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d_main.c b/src/d_main.c
index d188def0..94482947 100644
--- a/src/d_main.c
+++ b/src/d_main.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: d_main.c 400 2006-03-01 17:07:39Z fraggle $
+// $Id: d_main.c 408 2006-03-06 20:44:43Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -184,7 +184,7 @@
//-----------------------------------------------------------------------------
-static const char rcsid[] = "$Id: d_main.c 400 2006-03-01 17:07:39Z fraggle $";
+static const char rcsid[] = "$Id: d_main.c 408 2006-03-06 20:44:43Z fraggle $";
#define BGCOLOR 7
#define FGCOLOR 8
@@ -561,6 +561,8 @@ void D_DoomLoop (void)
debugfile = fopen (filename,"w");
}
+ TryRunTics();
+
I_InitGraphics ();
while (1)
@@ -1695,7 +1697,5 @@ void D_DoomMain (void)
}
- TryRunTics();
-
D_DoomLoop (); // never returns
}