Moves projectile processing to a subsystem

This commit is contained in:
kevinz000
2017-10-15 19:50:42 -07:00
committed by CitadelStationBot
parent be2dc49384
commit ed96224d3a
31 changed files with 486 additions and 333 deletions
+1 -5
View File
@@ -1141,11 +1141,7 @@ GLOBAL_LIST_INIT(hallucinations_major, list(
var/obj/item/projectile/hallucination/H = new proj_type(start)
target.playsound_local(start, H.hal_fire_sound, 60, 1)
H.hal_target = target
H.current = start
H.starting = start
H.yo = target.y - start.y
H.xo = target.x - start.x
H.original = target
H.preparePixelProjectile(target, start)
H.fire()
qdel(src)