Remove "bot_add" command.
This commit is contained in:
parent
f14bd46aef
commit
15bcd52b34
1 changed files with 0 additions and 10 deletions
|
@ -237,16 +237,6 @@ HLMultiplayerRules::ConsoleCommand(NSClientPlayer pp, string cmd)
|
||||||
tokenize(cmd);
|
tokenize(cmd);
|
||||||
|
|
||||||
switch (argv(0)) {
|
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":
|
case "jumptest":
|
||||||
makevectors(pp.v_angle);
|
makevectors(pp.v_angle);
|
||||||
traceline(pp.origin + pp.view_ofs, pp.origin + pp.view_ofs + v_forward * 1024, FALSE, pp);
|
traceline(pp.origin + pp.view_ofs, pp.origin + pp.view_ofs + v_forward * 1024, FALSE, pp);
|
||||||
|
|
Loading…
Reference in a new issue