[chocolate-doom] 17/42: Move call to dehacked entrypoint to stop crashes
Jonathan Dowland
jmtd at moszumanska.debian.org
Mon Jan 30 15:06:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
jmtd pushed a commit to annotated tag chocolate-doom-0.1.0
in repository chocolate-doom.
commit e98e86a672d7f1548c57a1b3351b1aacb60d9e03
Author: Simon Howard <fraggle at gmail.com>
Date: Tue Oct 4 00:41:49 2005 +0000
Move call to dehacked entrypoint to stop crashes
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 161
---
src/d_main.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/d_main.c b/src/d_main.c
index 23d9b9a..e88d6d4 100644
--- a/src/d_main.c
+++ b/src/d_main.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: d_main.c 153 2005-10-02 23:49:01Z fraggle $
+// $Id: d_main.c 161 2005-10-04 00:41:49Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.18 2005/10/04 00:41:49 fraggle
+// Move call to dehacked entrypoint to stop crashes
+//
// Revision 1.17 2005/10/02 23:49:01 fraggle
// The beginnings of dehacked support
//
@@ -93,7 +96,7 @@
//-----------------------------------------------------------------------------
-static const char rcsid[] = "$Id: d_main.c 153 2005-10-02 23:49:01Z fraggle $";
+static const char rcsid[] = "$Id: d_main.c 161 2005-10-04 00:41:49Z fraggle $";
#define BGCOLOR 7
#define FGCOLOR 8
@@ -1168,6 +1171,8 @@ void D_DoomMain (void)
printf ("ST_Init: Init status bar.\n");
ST_Init ();
+ DEH_CheckCommandLine();
+
// start the apropriate game based on parms
p = M_CheckParm ("-record");
@@ -1212,7 +1217,5 @@ void D_DoomMain (void)
}
- DEH_CheckCommandLine();
-
D_DoomLoop (); // never returns
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/chocolate-doom.git
More information about the Pkg-games-commits
mailing list