mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 00:31:54 +00:00
Fixed compilation with GCC or Clang
This commit is contained in:
parent
41ab08ee47
commit
d6346fb0c6
1 changed files with 2 additions and 2 deletions
|
@ -1187,12 +1187,12 @@ class CommandDrawNumber : public CommandDrawString
|
|||
|
||||
if (!(cvartype == CVAR_Bool || cvartype == CVAR_Int))
|
||||
{
|
||||
sc.ScriptMessage("CVar '%s' is not an int or bool", cvarName);
|
||||
sc.ScriptMessage("CVar '%s' is not an int or bool", cvarName.GetChars());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
sc.ScriptMessage("CVar '%s' does not exist", cvarName);
|
||||
sc.ScriptMessage("CVar '%s' does not exist", cvarName.GetChars());
|
||||
}
|
||||
|
||||
if (parenthesized) sc.MustGetToken(')');
|
||||
|
|
Loading…
Reference in a new issue