Merge pull request #4692 from Citadel-Station-13/upstream-merge-34140

[MIRROR] Fixes armor penetration not working on objects and therefore mechs
This commit is contained in:
deathride58
2018-01-07 20:39:29 +00:00
committed by GitHub
2 changed files with 11 additions and 8 deletions
+1
View File
@@ -362,6 +362,7 @@
if(targloc || !params)
yo = targloc.y - curloc.y
xo = targloc.x - curloc.x
setAngle(Get_Angle(src, targloc))
if(isliving(source) && params)
var/list/calculated = calculate_projectile_angle_and_pixel_offsets(source, params)