diff options
author | Simon Howard | 2006-01-23 00:12:25 +0000 |
---|---|---|
committer | Simon Howard | 2006-01-23 00:12:25 +0000 |
commit | e03c3c5cb7ede6a03b9185f8c64cf10847098a69 (patch) | |
tree | 90a7e4e647e62bd7154e7923280a4f549274ac00 /src/g_game.c | |
parent | 06d7bc41da184a13f3104e46e3791c1118af2b34 (diff) | |
download | chocolate-doom-e03c3c5cb7ede6a03b9185f8c64cf10847098a69.tar.gz chocolate-doom-e03c3c5cb7ede6a03b9185f8c64cf10847098a69.tar.bz2 chocolate-doom-e03c3c5cb7ede6a03b9185f8c64cf10847098a69.zip |
Fix dehacked sky replacement
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 332
Diffstat (limited to 'src/g_game.c')
-rw-r--r-- | src/g_game.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/g_game.c b/src/g_game.c index 5868f751..40ff7378 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: g_game.c 324 2006-01-22 23:33:32Z fraggle $ +// $Id: g_game.c 332 2006-01-23 00:12:25Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.22 2006/01/23 00:12:25 fraggle +// Fix dehacked sky replacement +// // Revision 1.21 2006/01/22 23:33:32 fraggle // Allow changing the sky texture names via dehacked patches // @@ -108,7 +111,7 @@ static const char -rcsid[] = "$Id: g_game.c 324 2006-01-22 23:33:32Z fraggle $"; +rcsid[] = "$Id: g_game.c 332 2006-01-23 00:12:25Z fraggle $"; #include <string.h> #include <stdlib.h> @@ -597,6 +600,8 @@ void G_DoLoadLevel (void) } } + skytexturename = DEH_String(skytexturename); + skytexture = R_TextureNumForName(skytexturename); levelstarttic = gametic; // for time calculation |