fix enforcers firing unmoving projectiles
This commit is contained in:
parent
6bca60e74a
commit
c140ffe07d
|
@ -60,14 +60,14 @@ void() Laser_Touch = {
|
|||
remove(self);
|
||||
};
|
||||
|
||||
void(vector org, vector vec) LaunchLaser = {
|
||||
void(vector org, vector vec_to) LaunchLaser = {
|
||||
vector vec;
|
||||
|
||||
if(self.classname == "monster_enforcer") {
|
||||
sound(self, CHAN_WEAPON, "enforcer/enfire.wav", 1, ATTN_NORM);
|
||||
}
|
||||
|
||||
vec = normalize(vec);
|
||||
vec = normalize(vec_to);
|
||||
|
||||
newmis = spawn();
|
||||
newmis.owner = self;
|
||||
|
|
Loading…
Reference in New Issue
Block a user