Fixes guns some. Can't shoot yourself as easily anymore. You can now aim at body parts with your gun. I think the reason you couldn't before was just the failure to pass the def_zone up to the parent, not sure if that was intensional or not.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3554 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
VivianFoxfoot@gmail.com
2012-05-04 05:10:00 +00:00
parent ef28337a8c
commit a657fa5e9b
6 changed files with 41 additions and 9 deletions
+4 -1
View File
@@ -246,11 +246,14 @@ proc/isInSight(var/atom/A, var/atom/B)
proc/doafterattack(obj/target , obj/source)
if (istype(target, /obj/item/weapon/storage/backpack ))
if (istype(target, /obj/item/weapon/storage/ ))
return 0
else if (locate (/obj/structure/table, source.loc))
return 0
else if (!istype(target.loc, /turf/))
return 0
else
return 1