summaryrefslogtreecommitdiff
path: root/src/heretic/p_switch.c
diff options
context:
space:
mode:
authorSimon Howard2010-02-08 21:14:30 +0000
committerSimon Howard2010-02-08 21:14:30 +0000
commit56412813c70ba44a6f6a74cee5bf460ca6a31402 (patch)
tree0770e771e2a03defd6668531fe8125afa4a526b8 /src/heretic/p_switch.c
parent08e0b1471b357ae22a632d1752919d973db8983e (diff)
downloadchocolate-doom-56412813c70ba44a6f6a74cee5bf460ca6a31402.tar.gz
chocolate-doom-56412813c70ba44a6f6a74cee5bf460ca6a31402.tar.bz2
chocolate-doom-56412813c70ba44a6f6a74cee5bf460ca6a31402.zip
Add Heretic implementation of HHE "Text" section, add DEH_String()
around appropriate strings to allow string replacements. Subversion-branch: /branches/raven-branch Subversion-revision: 1867
Diffstat (limited to 'src/heretic/p_switch.c')
-rw-r--r--src/heretic/p_switch.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/heretic/p_switch.c b/src/heretic/p_switch.c
index cef6a74b..2ec758b6 100644
--- a/src/heretic/p_switch.c
+++ b/src/heretic/p_switch.c
@@ -23,6 +23,7 @@
//-----------------------------------------------------------------------------
#include "doomdef.h"
+#include "deh_str.h"
#include "i_system.h"
#include "p_local.h"
#include "s_sound.h"
@@ -129,9 +130,9 @@ void P_InitSwitchList(void)
if (alphSwitchList[i].episode <= episode)
{
switchlist[index++] =
- R_TextureNumForName(alphSwitchList[i].name1);
+ R_TextureNumForName(DEH_String(alphSwitchList[i].name1));
switchlist[index++] =
- R_TextureNumForName(alphSwitchList[i].name2);
+ R_TextureNumForName(DEH_String(alphSwitchList[i].name2));
}
}
}