[chocolate-doom] 01/13: Fix switches not changing in Episode 4

Jonathan Dowland jmtd at moszumanska.debian.org
Mon Jan 30 15:06:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

jmtd pushed a commit to annotated tag chocolate-doom-0.0.2
in repository chocolate-doom.

commit adc62e7e5b34ffd341b8910e9110744a8827867d
Author: Simon Howard <fraggle at gmail.com>
Date:   Thu Sep 8 00:01:51 2005 +0000

    Fix switches not changing in Episode 4
    
    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 91
---
 NEWS           | 2 ++
 src/p_switch.c | 9 ++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/NEWS b/NEWS
index a54ba0a..106c970 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
 
+    Fix switches not changing in Ultimate Doom episode 4
+
 0.0.1 (2005-09-07):
     First beta release
 
diff --git a/src/p_switch.c b/src/p_switch.c
index 1a3a363..4f2a66b 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 )

-- 
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