summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2006-01-27 18:18:41 +0000
committerSimon Howard2006-01-27 18:18:41 +0000
commit6be712fdde1757a824ecb620269551ab78902bf1 (patch)
tree4a6b727087c46892216bb6fdabd9419255ba2232
parentf06d0080f3381254bb8f5e9cd01fadaa728bf079 (diff)
downloadchocolate-doom-6be712fdde1757a824ecb620269551ab78902bf1.tar.gz
chocolate-doom-6be712fdde1757a824ecb620269551ab78902bf1.tar.bz2
chocolate-doom-6be712fdde1757a824ecb620269551ab78902bf1.zip
dehacked replacements for switch texture names
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 346
-rw-r--r--src/p_switch.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/p_switch.c b/src/p_switch.c
index 4f2a66bb..694c8eba 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 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 @@ 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));
}
}
}