correct mixed case QDEL_NULL/qdel_null + behavior

This commit is contained in:
spookerton
2022-11-03 12:38:03 +00:00
parent f432c68fc2
commit cd25cb4b3a
17 changed files with 23 additions and 25 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
unregister_dangerous_to_step()
if(trap)
QDEL_NULL(trap)
qdel_null(wires)
QDEL_NULL(wires)
return ..()
/obj/effect/mine/Moved(atom/oldloc)
@@ -32,7 +32,7 @@
/obj/item/flashlight/Destroy()
STOP_PROCESSING(SSobj, src)
qdel_null(cell)
QDEL_NULL(cell)
return ..()
/obj/item/flashlight/get_cell()
@@ -35,7 +35,7 @@
cell = new/obj/item/cell/high(src) //comes not with the crappy default power cell - because this is dedicated EVA equipment
/obj/item/suit_cooling_unit/Destroy()
qdel_null(cell)
QDEL_NULL(cell)
return ..()
/obj/item/suit_cooling_unit/process()
+2 -2
View File
@@ -52,8 +52,8 @@
ion_trail.stop()
/obj/item/uav/Destroy()
qdel_null(cell)
qdel_null(ion_trail)
QDEL_NULL(cell)
QDEL_NULL(ion_trail)
LAZYCLEARLIST(masters)
STOP_PROCESSING(SSobj, src)
return ..()
+2 -2
View File
@@ -58,8 +58,8 @@
first_disposal = GLOB.disposal_pipe_recipes[GLOB.disposal_pipe_recipes[1]][1]
/obj/item/pipe_dispenser/Destroy()
qdel_null(spark_system)
qdel_null(tool)
QDEL_NULL(spark_system)
QDEL_NULL(tool)
return ..()
/obj/item/pipe_dispenser/attack_self(mob/user)
@@ -80,7 +80,7 @@
/obj/structure/closet/Destroy()
. = ..()
qdel_null(door_obj)
QDEL_NULL(door_obj)
/obj/structure/closet/examine(mob/user)
. = ..()