- Added Remove <classname> console command.
This commit is contained in:
parent
794d2240eb
commit
cac600733f
3 changed files with 68 additions and 0 deletions
|
|
@ -1841,3 +1841,22 @@ CCMD (kill)
|
|||
}
|
||||
C_HideConsole ();
|
||||
}
|
||||
|
||||
CCMD(remove)
|
||||
{
|
||||
if (argv.argc() == 2)
|
||||
{
|
||||
if (CheckCheatmode())
|
||||
return;
|
||||
|
||||
Net_WriteByte(DEM_REMOVE);
|
||||
Net_WriteString(argv[1]);
|
||||
C_HideConsole();
|
||||
}
|
||||
else
|
||||
{
|
||||
Printf("Usage: remove <actor class name>\n");
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue