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:
Lin
2021-02-14 13:34:25 -06:00
committed by GitHub

View File

@@ -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)
/** /**