diff options
author | Simon Howard | 2006-01-23 00:17:43 +0000 |
---|---|---|
committer | Simon Howard | 2006-01-23 00:17:43 +0000 |
commit | 92b3eeba514afec641892ecb090356027156f9ee (patch) | |
tree | a993a3f22b7d965c1679106341d6ddb68f124b02 | |
parent | e03c3c5cb7ede6a03b9185f8c64cf10847098a69 (diff) | |
download | chocolate-doom-92b3eeba514afec641892ecb090356027156f9ee.tar.gz chocolate-doom-92b3eeba514afec641892ecb090356027156f9ee.tar.bz2 chocolate-doom-92b3eeba514afec641892ecb090356027156f9ee.zip |
Allow changing the names of level lump names via dehacked.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 334
-rw-r--r-- | src/p_setup.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/p_setup.c b/src/p_setup.c index 8a00a9c1..69020317 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: p_setup.c 19 2005-07-23 19:17:11Z fraggle $ +// $Id: p_setup.c 334 2006-01-23 00:17:43Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.4 2006/01/23 00:17:43 fraggle +// Allow changing the names of level lump names via dehacked. +// // Revision 1.3 2005/07/23 19:17:11 fraggle // Use ANSI-standard limit constants. Remove LINUX define. // @@ -39,7 +42,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: p_setup.c 19 2005-07-23 19:17:11Z fraggle $"; +rcsid[] = "$Id: p_setup.c 334 2006-01-23 00:17:43Z fraggle $"; #include <math.h> @@ -644,9 +647,9 @@ P_SetupLevel if ( gamemode == commercial) { if (map<10) - sprintf (lumpname,"map0%i", map); + sprintf (lumpname, DEH_String("map0%i"), map); else - sprintf (lumpname,"map%i", map); + sprintf (lumpname, DEH_String("map%i"), map); } else { |