mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2024-11-10 07:11:51 +00:00
fix some var shadow bugs
This commit is contained in:
parent
ad9c37dbd0
commit
5a29efb8e2
2 changed files with 0 additions and 6 deletions
5
misc.qc
5
misc.qc
|
@ -408,8 +408,6 @@ from ENFORCER.QC
|
|||
|
||||
void(vector org, vector vec) LaunchLaser =
|
||||
{
|
||||
local vector vec;
|
||||
|
||||
if (self.classname == "monster_enforcer")
|
||||
sound (self, CHAN_WEAPON, "enforcer/enfire.wav", 1, ATTN_NORM);
|
||||
|
||||
|
@ -440,7 +438,6 @@ void(vector org, vector vec) LaunchLaser =
|
|||
//
|
||||
void(vector org, vector vec) TFFireRocket =
|
||||
{
|
||||
local vector vec;
|
||||
vec = normalize(vec);
|
||||
|
||||
|
||||
|
@ -474,7 +471,6 @@ W_FireGrenade
|
|||
*/
|
||||
void(vector org, vector vec) TFFireGrenade =
|
||||
{
|
||||
local vector vec;
|
||||
vec = normalize(vec);
|
||||
|
||||
//? KickPlayer(-2, self);
|
||||
|
@ -515,7 +511,6 @@ void(vector org, vector vec) TFFireGrenade =
|
|||
void() Flamer_stream_touch;
|
||||
void(vector org, vector vec) TFFireFlame =
|
||||
{
|
||||
local vector vec;
|
||||
vec = normalize(vec);
|
||||
|
||||
local entity flame;
|
||||
|
|
|
@ -1004,7 +1004,6 @@ SpawnMeatSpray
|
|||
void(vector org, vector vel) SpawnMeatSpray =
|
||||
{
|
||||
local entity missile;
|
||||
local vector org;
|
||||
|
||||
missile = spawn ();
|
||||
missile.owner = self;
|
||||
|
|
Loading…
Reference in a new issue