clean up some warnings

This commit is contained in:
Bill Currie 2002-11-01 01:49:10 +00:00
parent c1d3e4f3be
commit 48b1c64844
3 changed files with 3 additions and 2 deletions

View file

@ -36,7 +36,7 @@ float (string st) check_bot_name =
string() bot_name =
{
local float r;
local string st;
local string st = "Mozilla";
do
{

View file

@ -1683,6 +1683,7 @@ void(entity targ, entity attacker) ClientObituary =
msgUpdateFragsToAll (attacker.fClientNo, attacker.frags);
rnum = attacker.weapon;
deathstring = deathstring2 = " uninitialized ";
if (rnum == IT_BONESAW)
{

View file

@ -1584,7 +1584,7 @@ void(entity targ, entity attacker) ClientObituary =
if (!(deathmatch & DM_LMS)) //POX 1.2 - do regular obituary taunts in LMS mode
attacker.frags = attacker.frags + 1;
deathstring = deathstring2 = " uninitialized ";
rnum = attacker.weapon;
if (targ.deathtype == "nail")
{