Merge pull request #4122 from VOREStation/upstream-merge-5464

[MIRROR] Makes arcing projectiles exist in the code.
This commit is contained in:
Spades
2018-09-17 14:11:46 -04: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