- fix uninitialized variable (tesla.qc)

- set color and skin when player first connects (client.qc)
This commit is contained in:
Adam Olsen 2001-08-01 06:08:35 +00:00
parent 65c96fe980
commit d878c67d00
2 changed files with 5 additions and 1 deletions

View file

@ -445,6 +445,10 @@ void() DecodeLevelParms =
self.current_weapon = parm8;
self.armortype = parm9 * 0.01;
SetTeamName (self);
setinfokey (self, "topcolor", "0");
setinfokey (self, "bottomcolor", "0");
// TeamFortress Parameters
// Detect whether this is the first entrance into a map
if (toggleflags == 0)

View file

@ -408,7 +408,7 @@ float() Tesla_Fire =
local vector dir;
local float hit;
local float damage;
local float cheater;
local float cheater = FALSE;
local vector below;
if (self.tf_items & NIT_TURRET)