From 9c97b50afead04ff47ed6e465e5c366e8f276ad8 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 18 Apr 2010 18:54:52 +0000 Subject: Do dehacked string substitution for end of episode text. Subversion-branch: /branches/raven-branch Subversion-revision: 1907 --- src/heretic/f_finale.c | 15 +++++---------- 1 file 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; } -- cgit v1.2.3