mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-30 15:52:09 +00:00
- 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:
parent
e6de24a7de
commit
8a98be00dc
1 changed files with 2 additions and 0 deletions
|
@ -2247,6 +2247,8 @@ static int PatchStrings (int dummy)
|
||||||
|
|
||||||
ReplaceSpecialChars (holdstring.LockBuffer());
|
ReplaceSpecialChars (holdstring.LockBuffer());
|
||||||
holdstring.UnlockBuffer();
|
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);
|
GStrings.SetString (Line1, holdstring);
|
||||||
DPrintf ("%s set to:\n%s\n", Line1, holdstring.GetChars());
|
DPrintf ("%s set to:\n%s\n", Line1, holdstring.GetChars());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue