- print proper information about non-actor mapthings.
This commit is contained in:
parent
9e5bf38123
commit
4f7ec3ad89
4 changed files with 14 additions and 5 deletions
|
|
@ -113,8 +113,19 @@ CCMD (dumpmapthings)
|
|||
|
||||
for (unsigned i = 0; i < infos.Size (); ++i)
|
||||
{
|
||||
Printf ("%6d %s\n",
|
||||
infos[i]->Key, infos[i]->Value.Type->TypeName.GetChars());
|
||||
if (infos[i]->Value.Type != NULL)
|
||||
{
|
||||
Printf("%6d %s\n", infos[i]->Key, infos[i]->Value.Type->TypeName.GetChars());
|
||||
}
|
||||
else if (infos[i]->Value.Special > 0)
|
||||
{
|
||||
Printf("%6d %s\n", infos[i]->Key, SpecialMapthingNames[infos[i]->Value.Special - 1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
Printf("%6d none", infos[i]->Key);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue