summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2005-09-08 00:01:51 +0000
committerSimon Howard2005-09-08 00:01:51 +0000
commitadc62e7e5b34ffd341b8910e9110744a8827867d (patch)
tree4d059cd68bfb92f9c7d138c2647b45e4f8a4edbe /src
parent4349ec74e0020fca556535d91ac71c961cf25313 (diff)
downloadchocolate-doom-adc62e7e5b34ffd341b8910e9110744a8827867d.tar.gz
chocolate-doom-adc62e7e5b34ffd341b8910e9110744a8827867d.tar.bz2
chocolate-doom-adc62e7e5b34ffd341b8910e9110744a8827867d.zip
Fix switches not changing in Episode 4
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 91
Diffstat (limited to 'src')
-rw-r--r--src/p_switch.c9
1 files changed, 6 insertions, 3 deletions
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 )