Remove "bot_add" command.

This commit is contained in:
Marco Cawthorne 2024-01-26 19:28:52 -08:00
parent 75e1228f60
commit b08bed9d23
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 0 additions and 10 deletions

View File

@ -226,16 +226,6 @@ HLMultiplayerRules::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);