[chocolate-doom] 06/42: Fix Final Doom automap level name display

Jonathan Dowland jmtd at moszumanska.debian.org
Mon Jan 30 15:06:50 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 1ae1c29e92d1527d91350311eb56cf5d246d7ca4
Author: Simon Howard <fraggle at gmail.com>
Date:   Sun Oct 2 04:22:06 2005 +0000

    Fix Final Doom automap level name display
    
    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 150
---
 src/hu_stuff.c | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

diff --git a/src/hu_stuff.c b/src/hu_stuff.c
index 9e425cd..95b536d 100644
--- a/src/hu_stuff.c
+++ b/src/hu_stuff.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: hu_stuff.c 51 2005-08-10 08:45:35Z fraggle $
+// $Id: hu_stuff.c 150 2005-10-02 04:22:06Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
 // 02111-1307, USA.
 //
 // $Log$
+// Revision 1.4  2005/10/02 04:22:06  fraggle
+// Fix Final Doom automap level name display
+//
 // Revision 1.3  2005/08/10 08:45:35  fraggle
 // Remove "if (french)" stuff, FRENCH define, detect french wad automatically
 //
@@ -37,7 +40,7 @@
 //-----------------------------------------------------------------------------
 
 static const char
-rcsid[] = "$Id: hu_stuff.c 51 2005-08-10 08:45:35Z fraggle $";
+rcsid[] = "$Id: hu_stuff.c 150 2005-10-02 04:22:06Z fraggle $";
 
 #include <ctype.h>
 
@@ -348,27 +351,23 @@ void HU_Start(void)
 		       hu_font,
 		       HU_FONTSTART);
     
-    switch ( gamemode )
+    switch ( gamemission )
     {
-      case shareware:
-      case registered:
-      case retail:
+      case doom:
 	s = HU_TITLE;
 	break;
-
-/* FIXME
+      case doom2:
+	 s = HU_TITLE2;
+	 break;
       case pack_plut:
 	s = HU_TITLEP;
 	break;
       case pack_tnt:
 	s = HU_TITLET;
 	break;
-*/
-	
-      case commercial:
       default:
-	 s = HU_TITLE2;
-	 break;
+         s = "Unknown level";
+         break;
     }
     
     while (*s)

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