fix two locals shadowing parms. this should fix the bogus lasers

This commit is contained in:
Bill Currie 2002-02-19 00:21:30 +00:00
parent 3be5c77603
commit 718ae1049e
2 changed files with 0 additions and 3 deletions

View file

@ -73,8 +73,6 @@ void() Laser_Touch =
void(vector org, vector vec) LaunchLaser = void(vector org, vector vec) LaunchLaser =
{ {
local vector vec;
if (self.classname == "monster_enforcer") if (self.classname == "monster_enforcer")
sound (self, CHAN_WEAPON, "enforcer/enfire.wav", 1, ATTN_NORM); sound (self, CHAN_WEAPON, "enforcer/enfire.wav", 1, ATTN_NORM);

View file

@ -89,7 +89,6 @@ SpawnMeatSpray
void(vector org, vector vel) SpawnMeatSpray = void(vector org, vector vel) SpawnMeatSpray =
{ {
local entity missile; local entity missile;
local vector org;
missile = spawn (); missile = spawn ();
missile.owner = self; missile.owner = self;