fix enforcers firing unmoving projectiles
This commit is contained in:
джерело
6bca60e74a
коміт
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;
|
||||
|
|
|
|||
3
todo
3
todo
|
|
@ -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
|
||||
|
|
|
|||
Завантаження…
Посилання в новій задачі
Block a user