From a3e141ffafd366e110a6eba1cfdc41892822fb28 Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Fri, 15 Jul 2022 15:42:13 +0700 Subject: [PATCH] Revert "we don't need new macro" This reverts commit cf52753a1f437366bf3a5ea238650f3fc8b1772a. --- src/d_main.c | 2 +- src/doomstat.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/d_main.c b/src/d_main.c index d9b6f805..3f1d42a3 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) && !STRICTMODE(screen_melt)) + if ((wipe = gamestate != wipegamestate) && NOTSTRICTMODE(screen_melt)) wipe_StartScreen(0, 0, SCREENWIDTH, SCREENHEIGHT); if (gamestate == GS_LEVEL && gametic) diff --git a/src/doomstat.h b/src/doomstat.h index e1878be7..0b3f1490 100644 --- a/src/doomstat.h +++ b/src/doomstat.h @@ -301,6 +301,8 @@ 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))