Merge pull request #11600 from Ghommie/Ghommie-cit641

Removes dead flightsuit code leftovers and bad hook.
This commit is contained in:
kevinz000
2020-03-25 12:20:17 -07:00
committed by GitHub
7 changed files with 3 additions and 1138 deletions
File diff suppressed because it is too large Load Diff
-2
View File
@@ -84,8 +84,6 @@
/// The last mob/living/carbon to push/drag/grab this mob (mostly used by slimes friend recognition)
var/datum/weakref/LAssailant
var/list/obj/user_movement_hooks //Passes movement in client/Move() to these!
var/list/mob_spell_list = list() //construct spells and mime spells. Spells that do not transfer from one mob to another and can not be lost in mindswap.
+2 -3
View File
@@ -100,13 +100,12 @@
if(mob.throwing)
mob.throwing.finalize(FALSE)
for(var/obj/O in mob.user_movement_hooks)
O.intercept_user_move(direction, mob, n, oldloc)
var/atom/movable/P = mob.pulling
if(P && !ismob(P) && P.density)
mob.setDir(turn(mob.dir, 180))
SEND_SIGNAL(mob, COMSIG_MOB_CLIENT_MOVE, src, direction, n, oldloc)
/// Process_Grab(): checks for grab, attempts to break if so. Return TRUE to prevent movement.
/client/proc/Process_Grab()
if(mob.pulledby)