ref: 3277c11075b4080032618cb4e503f0af71b95132
parent: ad13f9f26caa0d03fd71750bd20e834803693887
author: Simon Howard <[email protected]>
date: Mon Mar 6 15:44:43 EST 2006
Do not run TryRunTics until after we have started demo recording. Fix crash when recording demos. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 408
--- 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 @@
debugfile = fopen (filename,"w");
}
+ TryRunTics();
+
I_InitGraphics ();
while (1)
@@ -1695,7 +1697,5 @@
}
- TryRunTics();
-
D_DoomLoop (); // never returns
}