From 9f358870161c4866526cd85b04ffa1d2f3188899 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 24 Oct 2005 18:50:39 +0000 Subject: Allow the game version to emulate to be specified from the command line and set compatibility options accordingly. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 223 --- src/p_enemy.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/p_enemy.c') diff --git a/src/p_enemy.c b/src/p_enemy.c index 4bc4d3bd..b09dbc6d 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: p_enemy.c 127 2005-09-24 22:58:01Z fraggle $ +// $Id: p_enemy.c 223 2005-10-24 18:50:39Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,10 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.4 2005/10/24 18:50:39 fraggle +// Allow the game version to emulate to be specified from the command line +// and set compatibility options accordingly. +// // Revision 1.3 2005/09/24 22:58:01 fraggle // Commit uac_dead fix // @@ -40,7 +44,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: p_enemy.c 127 2005-09-24 22:58:01Z fraggle $"; +rcsid[] = "$Id: p_enemy.c 223 2005-10-24 18:50:39Z fraggle $"; #include @@ -1657,9 +1661,11 @@ void A_BossDeath (mobj_t* mo) // // For the time being, I'm making the assumption that // doing this is not going to break anything else. + // + // 2005/10/24: Modify this to test the gameversion setting - // if (mo->type != MT_BRUISER) - // return; + if (gameversion >= exe_ultimate && mo->type != MT_BRUISER) + return; break; case 2: -- cgit v1.2.3