mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +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)
|
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;
|
script = script->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue