mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- Fixed compilation with old gcc and clang.
This commit is contained in:
parent
a27990885e
commit
afa644fe47
2 changed files with 4 additions and 4 deletions
|
@ -568,7 +568,7 @@ public:
|
|||
else
|
||||
{
|
||||
nameToIndex[key] = i;
|
||||
DPrintf(DMSG_NOTIFY, "GZSDF linker: Assigning pagename '%s' to node %i\n", key, i);
|
||||
DPrintf(DMSG_NOTIFY, "GZSDF linker: Assigning pagename '%s' to node %i\n", key.GetChars(), i);
|
||||
}
|
||||
usedstrings = true;
|
||||
}
|
||||
|
@ -584,7 +584,7 @@ public:
|
|||
if (nameToIndex.CheckKey(itemLinkKey))
|
||||
{
|
||||
Level->StrifeDialogues[i]->ItemCheckNode = nameToIndex[itemLinkKey] + 1;
|
||||
DPrintf(DMSG_NOTIFY, "GZSDF linker: Item Link '%s' in node %i was index %i\n", itemLinkKey, i, nameToIndex[itemLinkKey]);
|
||||
DPrintf(DMSG_NOTIFY, "GZSDF linker: Item Link '%s' in node %i was index %i\n", itemLinkKey.GetChars(), i, nameToIndex[itemLinkKey]);
|
||||
}
|
||||
else
|
||||
Printf("Warning! Reference to non-existent item-linked dialogue page name '%s' in page %i!\n", Level->StrifeDialogues[i]->ItemCheckNodeName.GetChars(), i);
|
||||
|
@ -600,7 +600,7 @@ public:
|
|||
if (nameToIndex.CheckKey(key))
|
||||
{
|
||||
NodeCheck->NextNode = nameToIndex[key] + 1;
|
||||
DPrintf(DMSG_NOTIFY, "GZSDF linker: Nextpage Link '%s' in node %i was index %i\n", key, i, nameToIndex[key]);
|
||||
DPrintf(DMSG_NOTIFY, "GZSDF linker: Nextpage Link '%s' in node %i was index %i\n", key.GetChars(), i, nameToIndex[key]);
|
||||
}
|
||||
else
|
||||
Printf("Warning! Reference to non-existent reply-linked dialogue page name '%s' in page %i!\n", NodeCheck->NextNodeName.GetChars(), i);
|
||||
|
|
|
@ -610,7 +610,7 @@ static void HandleReply(player_t *player, bool isconsole, int nodenum, int reply
|
|||
if (nextname.IsEmpty())
|
||||
Printf ("Next node %u is invalid, no such dialog page\n", next);
|
||||
else
|
||||
Printf ("Next node %u ('%s') is invalid, no such dialog page\n", next, nextname);
|
||||
Printf ("Next node %u ('%s') is invalid, no such dialog page\n", next, nextname.GetChars());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue