From 8a98be00dc1165564910a4f416a6e956d4311665 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 7 Dec 2014 09:30:16 +0100 Subject: [PATCH] - fixed: ZDoom did not understand Boom's name for the Red Skull Key pickup message due to a typo. Of course, just changing the name would break many old ZDoom mods so now Boom's name is explicitly being translated into ZDoom's before setting the string. --- src/d_dehacked.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/d_dehacked.cpp b/src/d_dehacked.cpp index d14015ca9..66fe2c58d 100644 --- a/src/d_dehacked.cpp +++ b/src/d_dehacked.cpp @@ -2247,6 +2247,8 @@ static int PatchStrings (int dummy) ReplaceSpecialChars (holdstring.LockBuffer()); holdstring.UnlockBuffer(); + // Account for a discrepancy between Boom's and ZDoom's name for the red skull key pickup message + if (!stricmp(Line1, "GOTREDSKULL")) Line1 = "GOTREDSKUL"; GStrings.SetString (Line1, holdstring); DPrintf ("%s set to:\n%s\n", Line1, holdstring.GetChars()); }