- 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.
This commit is contained in:
Christoph Oelckers 2014-12-07 09:30:16 +01:00
parent e6de24a7de
commit 8a98be00dc

View file

@ -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());
}