more uninit var cleanup

This commit is contained in:
Bill Currie 2001-10-19 07:34:22 +00:00
parent c01e44c7a4
commit 655fa7e52a
4 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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