Adds qdel defines (#33991)

* Adds qdel defines

* Adds qdel defines

* halfway through fixes

* rest of em

* fixes

* adds more

* list in action

---------

Co-authored-by: SECBATON GRIFFON <sage>
This commit is contained in:
SECBATON GRIFFON
2023-02-10 21:01:18 +00:00
committed by GitHub
parent b76ed04e3d
commit d8c8a9bb90
323 changed files with 679 additions and 1293 deletions

View File

@@ -89,8 +89,7 @@
/mob/living/silicon/ai/Destroy()
if(eyeobj)
eyeobj.ai = null
qdel(eyeobj) // No AI, no Eye
eyeobj = null
QDEL_NULL(eyeobj) // No AI, no Eye
..()
/atom/proc/move_camera_by_click()
@@ -110,7 +109,7 @@
var/initial = initial(user.sprint)
var/max_sprint = 50
var/obj/machinery/turret/T = user.current
var/obj/machinery/turret/T = user.current
var/obj/machinery/hologram/holopad/H = user.current
if(istype(T))
@@ -123,7 +122,7 @@
CAN_MOVE_DIAGONALLY = FALSE
user.eyeobj.glide_size = DELAY2GLIDESIZE(1)
user.delayNextMove(1)
else
else
user.eyeobj.glide_size = WORLD_ICON_SIZE
CAN_MOVE_DIAGONALLY = TRUE