Renames smooth var to smoothing_flags (#52427)

* smooth_flags

* SMOOTH_FALSE

* smooth_flags
This commit is contained in:
Rohesie
2020-07-29 10:19:23 +02:00
committed by GitHub
parent e752f8de2e
commit cb9f81e43c
36 changed files with 122 additions and 138 deletions
+2 -2
View File
@@ -18,7 +18,7 @@
if (!armor)
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 50)
. = ..()
if(smooth)
if(smoothing_flags)
QUEUE_SMOOTH(src)
QUEUE_SMOOTH_NEIGHBORS(src)
icon_state = ""
@@ -26,7 +26,7 @@
/obj/structure/Destroy()
GLOB.cameranet.updateVisibility(src)
if(smooth)
if(smoothing_flags)
QUEUE_SMOOTH_NEIGHBORS(src)
return ..()