mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-26 13:51:09 +00:00
- gcc warnings suck...
This commit is contained in:
parent
8a98be00dc
commit
95bed868d3
1 changed files with 3 additions and 2 deletions
|
@ -2248,8 +2248,9 @@ 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
|
// Account for a discrepancy between Boom's and ZDoom's name for the red skull key pickup message
|
||||||
if (!stricmp(Line1, "GOTREDSKULL")) Line1 = "GOTREDSKUL";
|
const char *ll = Line1;
|
||||||
GStrings.SetString (Line1, holdstring);
|
if (!stricmp(ll, "GOTREDSKULL")) ll = "GOTREDSKUL";
|
||||||
|
GStrings.SetString (ll, 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