mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-02-07 17:11:09 +00:00
- fix uninitialized variable (tesla.qc)
- set color and skin when player first connects (client.qc)
This commit is contained in:
parent
65c96fe980
commit
d878c67d00
2 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
2
tesla.qc
2
tesla.qc
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue