summaryrefslogtreecommitdiff
path: root/src/heretic
diff options
context:
space:
mode:
authorSimon Howard2010-04-18 18:54:52 +0000
committerSimon Howard2010-04-18 18:54:52 +0000
commit9c97b50afead04ff47ed6e465e5c366e8f276ad8 (patch)
tree753540783040a8e72f20e6f9ac972b3a1f56670b /src/heretic
parent59bc6523b4869e515aefa9118715cd440b163fc4 (diff)
downloadchocolate-doom-9c97b50afead04ff47ed6e465e5c366e8f276ad8.tar.gz
chocolate-doom-9c97b50afead04ff47ed6e465e5c366e8f276ad8.tar.bz2
chocolate-doom-9c97b50afead04ff47ed6e465e5c366e8f276ad8.zip
Do dehacked string substitution for end of episode text.
Subversion-branch: /branches/raven-branch Subversion-revision: 1907
Diffstat (limited to 'src/heretic')
-rw-r--r--src/heretic/f_finale.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/heretic/f_finale.c b/src/heretic/f_finale.c
index 27b33e96..4077bb82 100644
--- a/src/heretic/f_finale.c
+++ b/src/heretic/f_finale.c
@@ -38,11 +38,6 @@ int finalecount;
#define TEXTSPEED 3
#define TEXTWAIT 250
-char *e1text = E1TEXT;
-char *e2text = E2TEXT;
-char *e3text = E3TEXT;
-char *e4text = E4TEXT;
-char *e5text = E5TEXT;
char *finaletext;
char *finaleflat;
@@ -74,23 +69,23 @@ void F_StartFinale(void)
{
case 1:
finaleflat = DEH_String("FLOOR25");
- finaletext = e1text;
+ finaletext = DEH_String(E1TEXT);
break;
case 2:
finaleflat = DEH_String("FLATHUH1");
- finaletext = e2text;
+ finaletext = DEH_String(E2TEXT);
break;
case 3:
finaleflat = DEH_String("FLTWAWA2");
- finaletext = e3text;
+ finaletext = DEH_String(E3TEXT);
break;
case 4:
finaleflat = DEH_String("FLOOR28");
- finaletext = e4text;
+ finaletext = DEH_String(E4TEXT);
break;
case 5:
finaleflat = DEH_String("FLOOR08");
- finaletext = e5text;
+ finaletext = DEH_String(E5TEXT);
break;
}