This commit is contained in:
Chinsky
2015-03-30 22:04:13 +03:00
parent e3ad4dc013
commit 40cf940f13

View File

@@ -136,6 +136,8 @@
//Called when the projectile intercepts a mob. Returns 1 if the projectile hit the mob, 0 if it missed and should keep flying.
/obj/item/projectile/proc/attack_mob(var/mob/living/target_mob, var/distance, var/miss_modifier=0)
if(istype(target_mob)
return
//accuracy bonus from aiming
if (istype(shot_from, /obj/item/weapon/gun))
var/obj/item/weapon/gun/daddy = shot_from