Merge pull request #13044 from KorPhaeron/curvethebullet

Stops projectiles being blown away by spacewind
This commit is contained in:
Razharas
2015-11-17 06:06:25 +03:00
+2 -1
View File
@@ -7,6 +7,7 @@
pass_flags = PASSTABLE
mouse_opacity = 0
hitsound = 'sound/weapons/pierce.ogg'
pressure_resistance = INFINITY
var/def_zone = "" //Aiming at
var/mob/firer = null//Who shot it
var/suppressed = 0 //Attack message
@@ -138,4 +139,4 @@
/obj/item/projectile/Crossed(atom/movable/AM) //A mob moving on a tile with a projectile is hit by it.
..()
if(isliving(AM) && AM.density && !checkpass(PASSMOB))
Bump(AM, 1)
Bump(AM, 1)