[chocolate-doom] 10/26: Fix dehacked sky replacement

Jonathan Dowland jmtd at moszumanska.debian.org
Mon Jan 30 15:07:38 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.4
in repository chocolate-doom.

commit 4c932a21562d2bf32051741278980858d51007f6
Author: Simon Howard <fraggle at gmail.com>
Date:   Mon Jan 23 00:12:36 2006 +0000

    Fix dehacked sky replacement
    
    Subversion-branch: /branches/CHOCOLATE_DOOM_0_1/chocolate-doom
    Subversion-revision: 333
---
 src/g_game.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/g_game.c b/src/g_game.c
index 7ed7412..019ff92 100644
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: g_game.c 325 2006-01-22 23:36:21Z fraggle $
+// $Id: g_game.c 333 2006-01-23 00:12:36Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
 // 02111-1307, USA.
 //
 // $Log$
+// Revision 1.20.2.2  2006/01/23 00:12:36  fraggle
+// Fix dehacked sky replacement
+//
 // Revision 1.20.2.1  2006/01/22 23:36:21  fraggle
 // Allow changing the sky texture names via dehacked patches
 //
@@ -108,7 +111,7 @@
 
 
 static const char
-rcsid[] = "$Id: g_game.c 325 2006-01-22 23:36:21Z fraggle $";
+rcsid[] = "$Id: g_game.c 333 2006-01-23 00:12:36Z 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

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