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
@@ -18,12 +18,6 @@ var/datum/observ/moved/moved_event = new()
* Movement Handling *
********************/
/atom/movable/Move()
var/old_loc = loc
. = ..()
if(.)
moved_event.raise_event(src, old_loc, loc)
/atom/movable/proc/move_to_destination(var/atom/movable/am, var/old_loc, var/new_loc)
var/turf/T = get_turf(new_loc)
if(T && T != loc)