Merge pull request #5464 from Neerti/arc_projectile_fix

Makes arcing projectiles exist in the code.
This commit is contained in:
Anewbe
2018-08-03 10:37:03 -05:00
committed by GitHub
3 changed files with 5 additions and 0 deletions

View File

@@ -323,6 +323,7 @@
before_move()
Move(location.return_turf())
after_move()
if(!bumped && !isturf(original))
if(loc == get_turf(original))
@@ -348,6 +349,9 @@
/obj/item/projectile/proc/before_move()
return
/obj/item/projectile/proc/after_move()
return
/obj/item/projectile/proc/setup_trajectory(turf/startloc, turf/targloc, var/x_offset = 0, var/y_offset = 0)
// setup projectile state
starting = startloc