- 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:
Christoph Oelckers 2008-02-20 21:28:55 +00:00
commit d412266bfc
5 changed files with 33 additions and 3 deletions

View file

@ -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