Fix parallax (#2983)

changes:

Parallax now actually moves properly on Move().
Parallax movement can now be toggled as a preference.
Merged all movable/Move() overrides for performance reasons.
This commit is contained in:
Lohikar
2017-07-09 19:35:02 +03:00
committed by skull132
parent 6d69abbd47
commit 2ee49b1b9e
10 changed files with 47 additions and 23 deletions
-6
View File
@@ -26,12 +26,6 @@
. = ..()
QDEL_NULL(bound_overlay)
/atom/movable/Move()
. = ..()
if (bound_overlay)
// The overlay will handle cleaning itself up on non-openspace turfs.
bound_overlay.forceMove(get_step(src, UP))
/atom/movable/forceMove(atom/dest)
. = ..(dest)
if (bound_overlay)