From c3dc84297e640b3de52cf4511afa26f2090013a8 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Thu, 24 Sep 2020 23:45:40 -0400 Subject: [PATCH] - flat tile backgrounds in intermission now respects 'inter_classic_scaling' cvar --- src/wi_stuff.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wi_stuff.cpp b/src/wi_stuff.cpp index 5f508b686..3fdde8aa5 100644 --- a/src/wi_stuff.cpp +++ b/src/wi_stuff.cpp @@ -61,6 +61,7 @@ CVAR(Bool, wi_percents, true, CVAR_ARCHIVE) CVAR(Bool, wi_showtotaltime, true, CVAR_ARCHIVE) CVAR(Bool, wi_noautostartmap, false, CVAR_USERINFO | CVAR_ARCHIVE) CVAR(Int, wi_autoadvance, 0, CVAR_SERVERINFO) +EXTERN_CVAR(Bool, inter_classic_scaling) // States for the intermission enum EState @@ -606,7 +607,7 @@ void DInterBackground::drawBackground(int state, bool drawsplat, bool snl_pointe } else { - twod->AddFlatFill(0, 0, twod->GetWidth(), twod->GetHeight(), background); + twod->AddFlatFill(0, 0, twod->GetWidth(), twod->GetHeight(), background, (inter_classic_scaling ? -1 : 0)); } } else