ref: 6be712fdde1757a824ecb620269551ab78902bf1
parent: f06d0080f3381254bb8f5e9cd01fadaa728bf079
author: Simon Howard <[email protected]>
date: Fri Jan 27 13:18:41 EST 2006
dehacked replacements for switch texture names Subversion-branch: /trunk/chocolate-doom Subversion-revision: 346
--- 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 346 2006-01-27 18:18:41Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -23,6 +23,9 @@
//
//
// $Log$
+// Revision 1.4 2006/01/27 18:18:41 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 346 2006-01-27 18:18:41Z fraggle $";
#include "i_system.h"
@@ -157,8 +160,8 @@
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));
}
}
}