From adc62e7e5b34ffd341b8910e9110744a8827867d Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 8 Sep 2005 00:01:51 +0000 Subject: Fix switches not changing in Episode 4 Subversion-branch: /trunk/chocolate-doom Subversion-revision: 91 --- src/p_switch.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/p_switch.c b/src/p_switch.c index 1a3a3631..4f2a66bb 100644 --- a/src/p_switch.c +++ b/src/p_switch.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: p_switch.c 8 2005-07-23 16:44:57Z fraggle $ +// $Id: p_switch.c 91 2005-09-08 00:01:51Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -23,6 +23,9 @@ // // // $Log$ +// Revision 1.3 2005/09/08 00:01:51 fraggle +// Fix switches not changing in Episode 4 +// // Revision 1.2 2005/07/23 16:44:56 fraggle // Update copyright to GNU GPL // @@ -36,7 +39,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: p_switch.c 8 2005-07-23 16:44:57Z fraggle $"; +rcsid[] = "$Id: p_switch.c 91 2005-09-08 00:01:51Z fraggle $"; #include "i_system.h" @@ -125,7 +128,7 @@ void P_InitSwitchList(void) episode = 1; - if (gamemode == registered) + if (gamemode == registered || gamemode == retail) episode = 2; else if ( gamemode == commercial ) -- cgit v1.2.3