Removal of "bot_add" command.

This commit is contained in:
Marco Cawthorne 2024-01-26 20:52:07 -08:00
parent 681355c97d
commit 60791ebe5a
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 0 additions and 10 deletions

View File

@ -519,16 +519,6 @@ HLGameRules::ConsoleCommand(NSClientPlayer pp, string cmd)
tokenize(cmd);
switch (argv(0)) {
case "bot_add":
bot pete = (bot)Bot_AddQuick();
Bot_RandomColormap(pete);
searchhandle pm = search_begin("models/player/*/*.mdl", TRUE, TRUE);
int r = floor(random(0, search_getsize(pm)));
string mdl = substring(search_getfilename(pm, r), 0, -5);
tokenizebyseparator(mdl, "/");
forceinfokey(pete, "model", argv(2));
search_end(pm);
break;
case "jumptest":
makevectors(pp.v_angle);
traceline(pp.origin + pp.view_ofs, pp.origin + pp.view_ofs + v_forward * 1024, FALSE, pp);