mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
bitmask
This commit is contained in:
@@ -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(smoothing_flags & (SMOOTH_CORNERS|SMOOTH_BLOB))
|
||||
if(smoothing_flags & (SMOOTH_CORNERS|SMOOTH_BITMASK))
|
||||
QUEUE_SMOOTH(src)
|
||||
QUEUE_SMOOTH_NEIGHBORS(src)
|
||||
if(smoothing_flags & SMOOTH_CORNERS)
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
/obj/structure/Destroy()
|
||||
GLOB.cameranet.updateVisibility(src)
|
||||
if(smoothing_flags & (SMOOTH_CORNERS|SMOOTH_BLOB))
|
||||
if(smoothing_flags & (SMOOTH_CORNERS|SMOOTH_BITMASK))
|
||||
QUEUE_SMOOTH_NEIGHBORS(src)
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user