mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2024-11-27 14:32:03 +00:00
more uninit var cleanup
This commit is contained in:
parent
c01e44c7a4
commit
655fa7e52a
4 changed files with 5 additions and 5 deletions
|
@ -1049,7 +1049,7 @@ void() LoadNextMap =
|
|||
local string cyc;
|
||||
local float desc;
|
||||
local float mapcount;
|
||||
local string map;
|
||||
local string map = "";
|
||||
|
||||
nextlevel = GetNextMapNum();
|
||||
nextlevel = nextlevel + 1; // next level
|
||||
|
|
|
@ -370,7 +370,7 @@ void() MotionSensorIdle =
|
|||
|
||||
float() MotionSensorFindTarget =
|
||||
{
|
||||
local entity client;
|
||||
local entity client = world;
|
||||
local float r, gotone, loopc;
|
||||
|
||||
// Try a few checks to make it react faster
|
||||
|
|
|
@ -32,7 +32,7 @@ void() Security_Camera_Idle =
|
|||
//========
|
||||
float() Security_Camera_FindTarget =
|
||||
{
|
||||
local entity client;
|
||||
local entity client = world;
|
||||
local float r, gotone, loopc;
|
||||
|
||||
if (self.is_malfunctioning & SCREWUP_TWO) // SB how tragic, camera can't see
|
||||
|
@ -103,7 +103,7 @@ float() Security_Camera_FindTarget =
|
|||
|
||||
float() Security_Camera_FindFakeTarget =
|
||||
{
|
||||
local entity client;
|
||||
local entity client = world;
|
||||
local float r, gotone, loopc;
|
||||
|
||||
if (self.is_malfunctioning & SCREWUP_THREE) // SB how tragic, camera can't see
|
||||
|
|
|
@ -249,7 +249,7 @@ float() Sentry_FindTarget =
|
|||
if (infokey(world,"ceasefire")=="on")
|
||||
return FALSE;
|
||||
|
||||
local entity client;
|
||||
local entity client = world;
|
||||
local float r, gotone, loopc;
|
||||
|
||||
//WK Hack to get floating sentry working
|
||||
|
|
Loading…
Reference in a new issue