From fed463f1d24a150fe4d56221f7c807c1d4089e0b Mon Sep 17 00:00:00 2001
From: Monster Iestyn <iestynjealous@ntlworld.com>
Date: Sun, 8 Nov 2015 17:50:05 +0000
Subject: [PATCH] NextLevel for level headers can now take the special strings
 "Title" "Evaluation" or "Credits" in place of their usual numbers
 (optionally, that is)

---
 src/dehacked.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/dehacked.c b/src/dehacked.c
index 0ba054f07c..7951572640 100644
--- a/src/dehacked.c
+++ b/src/dehacked.c
@@ -1132,6 +1132,10 @@ static void readlevelheader(MYFILE *f, INT32 num)
 			}
 			else if (fastcmp(word, "NEXTLEVEL"))
 			{
+				if      (fastcmp(word2, "TITLE"))      i = 1100;
+				else if (fastcmp(word2, "EVALUATION")) i = 1101;
+				else if (fastcmp(word2, "CREDITS"))    i = 1102;
+				else
 				// Support using the actual map name,
 				// i.e., Nextlevel = AB, Nextlevel = FZ, etc.
 
-- 
GitLab