From cf52753a1f437366bf3a5ea238650f3fc8b1772a Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Fri, 15 Jul 2022 15:23:51 +0700 Subject: [PATCH] we don't need new macro I'm confused about my own macros. --- src/d_main.c | 2 +- src/doomstat.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/d_main.c b/src/d_main.c index 3f1d42a3..d9b6f805 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -245,7 +245,7 @@ void D_Display (void) } // save the current screen if about to wipe - if ((wipe = gamestate != wipegamestate) && NOTSTRICTMODE(screen_melt)) + if ((wipe = gamestate != wipegamestate) && !STRICTMODE(screen_melt)) wipe_StartScreen(0, 0, SCREENWIDTH, SCREENHEIGHT); if (gamestate == GS_LEVEL && gametic) diff --git a/src/doomstat.h b/src/doomstat.h index 0b3f1490..e1878be7 100644 --- a/src/doomstat.h +++ b/src/doomstat.h @@ -301,8 +301,6 @@ extern boolean strictmode, default_strictmode; #define STRICTMODE(x) (strictmode ? 0 : (x)) -#define NOTSTRICTMODE(x) (strictmode ? 1 : (x)) - #define STRICTMODE_COMP(x) (strictmode ? comp[x] : default_comp[x]) #define STRICTMODE_VANILLA(x) (strictmode && demo_compatibility ? 0 : (x))