mirror of
https://git.code.sf.net/p/quake/game-source
synced 2024-11-21 19:41:25 +00:00
set the ping etc /after/ setting b_skill and update the diff
This commit is contained in:
parent
8070348d8a
commit
93aa9812f6
2 changed files with 11 additions and 2 deletions
|
@ -266,7 +266,7 @@ BotConnect =
|
|||
local entity cl;
|
||||
local Bot bot;
|
||||
local bot_data_t [] name;
|
||||
|
||||
|
||||
cl = SV_AllocClient ();
|
||||
if (!cl) {
|
||||
bprint (PRINT_HIGH, "Unable to connect a bot, server is full.\n");
|
||||
|
@ -385,7 +385,6 @@ void(Waypoint e1, Waypoint e2, integer flag) DeveloperLightning = {};
|
|||
b_pants = name.pants;
|
||||
b_shirt = name.shirt;
|
||||
|
||||
[self updateClient];
|
||||
//b_num = I
|
||||
bot_count++;
|
||||
if (skill > 3)
|
||||
|
@ -394,6 +393,7 @@ void(Waypoint e1, Waypoint e2, integer flag) DeveloperLightning = {};
|
|||
skill = 0;
|
||||
b_skill = skill;
|
||||
ishuman = FALSE;
|
||||
[self updateClient];
|
||||
|
||||
uself = @self;
|
||||
@self = ent;
|
||||
|
|
|
@ -79,6 +79,15 @@ diff -u -r1.4 defs.qc
|
|||
vector(vector v) normalize = #9;
|
||||
void(string e) error = #10;
|
||||
void(string e) objerror = #11;
|
||||
@@ -534,7 +535,7 @@
|
||||
// a forent of world is ignored
|
||||
void(vector v1, vector v2, float nomonsters, entity forent) traceline = #16;
|
||||
entity() checkclient = #17; // returns a client to look for
|
||||
-entity(entity start, .string fld, string match) find = #18;
|
||||
+entity(entity start, ...) find = #18;
|
||||
string(string s) precache_sound = #19;
|
||||
string(string s) precache_model = #20;
|
||||
void(entity client, string s)stuffcmd = #21;
|
||||
@@ -557,7 +558,7 @@
|
||||
float(entity e) checkbottom = #40; // true if self is on ground
|
||||
float(vector v) pointcontents = #41; // returns a CONTENT_*
|
||||
|
|
Loading…
Reference in a new issue