fix enforcers firing unmoving projectiles

master
an 2019-09-19 19:50:30 -04:00
parent 6bca60e74a
commit c140ffe07d
2 changed files with 4 additions and 3 deletions

View File

@ -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;

3
todo
View File

@ -1,6 +1,6 @@
bugs:
enforcers are broken
none
refactoring:
@ -32,5 +32,6 @@ done:
corpse pickups have keys
custom pronouns
distributed ammo
enforcers are broken
lives counting
no friendly fire