[chocolate-doom] 16/26: dehacked replacements for switch texture names

Jonathan Dowland jmtd at moszumanska.debian.org
Mon Jan 30 15:07:39 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 3531ef9010b25837ebe76fe9a1c0924601ba6063
Author: Simon Howard <fraggle at gmail.com>
Date:   Fri Jan 27 18:18:46 2006 +0000

    dehacked replacements for switch texture names
    
    Subversion-branch: /branches/CHOCOLATE_DOOM_0_1/chocolate-doom
    Subversion-revision: 347
---
 src/p_switch.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/p_switch.c b/src/p_switch.c
index 4f2a66b..910c90c 100644
--- a/src/p_switch.c
+++ b/src/p_switch.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: p_switch.c 91 2005-09-08 00:01:51Z fraggle $
+// $Id: p_switch.c 347 2006-01-27 18:18:46Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -23,6 +23,9 @@
 //
 //
 // $Log$
+// Revision 1.3.2.1  2006/01/27 18:18:46  fraggle
+// dehacked replacements for switch texture names
+//
 // Revision 1.3  2005/09/08 00:01:51  fraggle
 // Fix switches not changing in Episode 4
 //
@@ -39,7 +42,7 @@
 //-----------------------------------------------------------------------------
 
 static const char
-rcsid[] = "$Id: p_switch.c 91 2005-09-08 00:01:51Z fraggle $";
+rcsid[] = "$Id: p_switch.c 347 2006-01-27 18:18:46Z fraggle $";
 
 
 #include "i_system.h"
@@ -157,8 +160,8 @@ void P_InitSwitchList(void)
 	    
 	    value = R_TextureNumForName(alphSwitchList[i].name1);
 #endif
-	    switchlist[index++] = R_TextureNumForName(alphSwitchList[i].name1);
-	    switchlist[index++] = R_TextureNumForName(alphSwitchList[i].name2);
+	    switchlist[index++] = R_TextureNumForName(DEH_String(alphSwitchList[i].name1));
+	    switchlist[index++] = R_TextureNumForName(DEH_String(alphSwitchList[i].name2));
 	}
     }
 }

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