mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-29 21:00:50 +00:00
fix DScriptScanner
This commit is contained in:
parent
2061caba18
commit
61df13306f
1 changed files with 2 additions and 2 deletions
|
@ -1706,7 +1706,7 @@ DEFINE_ACTION_FUNCTION(DScriptScanner, ScriptError)
|
|||
{
|
||||
PARAM_SELF_PROLOGUE(DScriptScanner);
|
||||
|
||||
FString s = FStringFormat(VM_ARGS_NAMES);
|
||||
FString s = FStringFormat(VM_ARGS_NAMES, 1);
|
||||
self->wrapped.ScriptError("%s", s.GetChars());
|
||||
return 0;
|
||||
}
|
||||
|
@ -1715,7 +1715,7 @@ DEFINE_ACTION_FUNCTION(DScriptScanner, ScriptMessage)
|
|||
{
|
||||
PARAM_SELF_PROLOGUE(DScriptScanner);
|
||||
|
||||
FString s = FStringFormat(VM_ARGS_NAMES);
|
||||
FString s = FStringFormat(VM_ARGS_NAMES, 1);
|
||||
self->wrapped.ScriptMessage("%s", s.GetChars());
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue