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))