set the ping etc /after/ setting b_skill and update the diff

This commit is contained in:
Bill Currie 2004-05-12 03:36:38 +00:00
parent 8070348d8a
commit 93aa9812f6
2 changed files with 11 additions and 2 deletions

View File

@ -266,7 +266,7 @@ BotConnect =
local entity cl; local entity cl;
local Bot bot; local Bot bot;
local bot_data_t [] name; local bot_data_t [] name;
cl = SV_AllocClient (); cl = SV_AllocClient ();
if (!cl) { if (!cl) {
bprint (PRINT_HIGH, "Unable to connect a bot, server is full.\n"); 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_pants = name.pants;
b_shirt = name.shirt; b_shirt = name.shirt;
[self updateClient];
//b_num = I //b_num = I
bot_count++; bot_count++;
if (skill > 3) if (skill > 3)
@ -394,6 +393,7 @@ void(Waypoint e1, Waypoint e2, integer flag) DeveloperLightning = {};
skill = 0; skill = 0;
b_skill = skill; b_skill = skill;
ishuman = FALSE; ishuman = FALSE;
[self updateClient];
uself = @self; uself = @self;
@self = ent; @self = ent;

View File

@ -79,6 +79,15 @@ diff -u -r1.4 defs.qc
vector(vector v) normalize = #9; vector(vector v) normalize = #9;
void(string e) error = #10; void(string e) error = #10;
void(string e) objerror = #11; 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 @@ @@ -557,7 +558,7 @@
float(entity e) checkbottom = #40; // true if self is on ground float(entity e) checkbottom = #40; // true if self is on ground
float(vector v) pointcontents = #41; // returns a CONTENT_* float(vector v) pointcontents = #41; // returns a CONTENT_*