Remove "bot_add" command.

This commit is contained in:
Marco Cawthorne 2024-01-26 19:28:33 -08:00
parent f14bd46aef
commit 15bcd52b34
Signed by: eukara
GPG key ID: CE2032F0A2882A22

View file

@ -237,16 +237,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, "/");
pete.SetInfoKey("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);