[MIRROR] multiz movement refactor redux [MDB IGNORE] (#9925)

* multiz movement refactor redux (#62132)

* multiz movement refactor redux

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-12-07 08:27:12 -05:00
committed by GitHub
co-authored by Ghom
parent 736de4147d
commit 463c2fc71d
38 changed files with 497 additions and 260 deletions
+3
View File
@@ -69,6 +69,9 @@
source.movement_type &= ~flag
if((old_state & (FLOATING|FLYING)) && !(source.movement_type & (FLOATING|FLYING)))
stop_floating(source)
var/turf/pitfall = source.loc //Things that don't fly fall in open space.
if(istype(pitfall))
pitfall.zFall(source)
SEND_SIGNAL(source, COMSIG_MOVETYPE_FLAG_DISABLED, flag, old_state)
/// Called when the TRAIT_NO_FLOATING_ANIM trait is added to the movable. Stops it from bobbing up and down.