mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +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