mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- Print named script's names for the scriptstat console command.
SVN r3374 (trunk)
This commit is contained in:
parent
7b5612c45a
commit
67bbc0f95c
1 changed files with 8 additions and 1 deletions
|
@ -7375,7 +7375,14 @@ void DACSThinker::DumpScriptStatus ()
|
|||
|
||||
while (script != NULL)
|
||||
{
|
||||
Printf ("%d: %s\n", script->script, stateNames[script->state]);
|
||||
if (script->script < 0)
|
||||
{
|
||||
Printf("\"%s\": %s\n", FName(ENamedName(-script->script)).GetChars(), stateNames[script->state]);
|
||||
}
|
||||
else
|
||||
{
|
||||
Printf("%d: %s\n", script->script, stateNames[script->state]);
|
||||
}
|
||||
script = script->next;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue