fix enforcers firing unmoving projectiles
This commit is contained in:
parent
6bca60e74a
commit
c140ffe07d
|
@ -60,14 +60,14 @@ void() Laser_Touch = {
|
||||||
remove(self);
|
remove(self);
|
||||||
};
|
};
|
||||||
|
|
||||||
void(vector org, vector vec) LaunchLaser = {
|
void(vector org, vector vec_to) LaunchLaser = {
|
||||||
vector vec;
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
vec = normalize(vec);
|
vec = normalize(vec_to);
|
||||||
|
|
||||||
newmis = spawn();
|
newmis = spawn();
|
||||||
newmis.owner = self;
|
newmis.owner = self;
|
||||||
|
|
3
todo
3
todo
|
@ -1,6 +1,6 @@
|
||||||
bugs:
|
bugs:
|
||||||
|
|
||||||
enforcers are broken
|
none
|
||||||
|
|
||||||
refactoring:
|
refactoring:
|
||||||
|
|
||||||
|
@ -32,5 +32,6 @@ done:
|
||||||
corpse pickups have keys
|
corpse pickups have keys
|
||||||
custom pronouns
|
custom pronouns
|
||||||
distributed ammo
|
distributed ammo
|
||||||
|
enforcers are broken
|
||||||
lives counting
|
lives counting
|
||||||
no friendly fire
|
no friendly fire
|
||||||
|
|
Loading…
Reference in New Issue
Block a user