summaryrefslogtreecommitdiff
path: root/src/hu_stuff.c
diff options
context:
space:
mode:
authorSimon Howard2005-10-02 04:22:06 +0000
committerSimon Howard2005-10-02 04:22:06 +0000
commit1ae1c29e92d1527d91350311eb56cf5d246d7ca4 (patch)
tree03aa2af791e82334c48939ca5503abcf5209eba0 /src/hu_stuff.c
parent1df239e48379803dad2826fc0960574feab622c0 (diff)
downloadchocolate-doom-1ae1c29e92d1527d91350311eb56cf5d246d7ca4.tar.gz
chocolate-doom-1ae1c29e92d1527d91350311eb56cf5d246d7ca4.tar.bz2
chocolate-doom-1ae1c29e92d1527d91350311eb56cf5d246d7ca4.zip
Fix Final Doom automap level name display
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 150
Diffstat (limited to 'src/hu_stuff.c')
-rw-r--r--src/hu_stuff.c25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/hu_stuff.c b/src/hu_stuff.c
index 9e425cde..95b536d4 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)