- Added a modified version of Karate Chris's submission for killing specific
monsters with the 'Kill' ccmd. SVN r759 (trunk)
This commit is contained in:
parent
77040032c5
commit
d412266bfc
5 changed files with 33 additions and 3 deletions
|
|
@ -1395,6 +1395,9 @@ CCMD (kill)
|
|||
{
|
||||
if (argv.argc() > 1)
|
||||
{
|
||||
if (CheckCheatmode ())
|
||||
return;
|
||||
|
||||
if (!stricmp (argv[1], "monsters"))
|
||||
{
|
||||
// Kill all the monsters
|
||||
|
|
@ -1406,8 +1409,8 @@ CCMD (kill)
|
|||
}
|
||||
else
|
||||
{
|
||||
Printf("cannot kill '%s'\n", argv[1]);
|
||||
return;
|
||||
Net_WriteByte (DEM_KILLCLASSCHEAT);
|
||||
Net_WriteString (argv[1]);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue