mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
Merge pull request #14238 from Citadel-Station-13/silicons-patch-13
fixes linter errors with COMPILE_OVERLAYS (wow this is stupid)
This commit is contained in:
@@ -204,7 +204,7 @@
|
|||||||
///Compile all the overlays for an atom from the cache lists
|
///Compile all the overlays for an atom from the cache lists
|
||||||
// |= on overlays is not actually guaranteed to not add same appearances but we're optimistically using it anyway.
|
// |= on overlays is not actually guaranteed to not add same appearances but we're optimistically using it anyway.
|
||||||
#define COMPILE_OVERLAYS(A)\
|
#define COMPILE_OVERLAYS(A)\
|
||||||
if (TRUE) {\
|
do {\
|
||||||
var/list/ad = A.add_overlays;\
|
var/list/ad = A.add_overlays;\
|
||||||
var/list/rm = A.remove_overlays;\
|
var/list/rm = A.remove_overlays;\
|
||||||
if(LAZYLEN(rm)){\
|
if(LAZYLEN(rm)){\
|
||||||
@@ -216,7 +216,7 @@
|
|||||||
ad.Cut();\
|
ad.Cut();\
|
||||||
}\
|
}\
|
||||||
A.flags_1 &= ~OVERLAY_QUEUED_1;\
|
A.flags_1 &= ~OVERLAY_QUEUED_1;\
|
||||||
}
|
} while(FALSE)
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user