From 3977d3225dfea3faabcc4a70404b1e3583e6540d Mon Sep 17 00:00:00 2001 From: James R Date: Tue, 17 Oct 2023 19:17:46 -0700 Subject: [PATCH] Tally: fix fade not covering entire screen in non-green resolutions --- src/k_tally.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/k_tally.cpp b/src/k_tally.cpp index 36f5ed0d1..eba1452c8 100644 --- a/src/k_tally.cpp +++ b/src/k_tally.cpp @@ -909,10 +909,13 @@ void level_tally_t::Draw(void) { fade = (5 * transition_f); } + V_DrawFadeFill( - 0, 0, - v_width, v_height, - V_SPLITSCREEN, + (vid.width / 2) * (r_splitscreen > 1 && R_GetViewNumber() & 1), + (vid.height / 2) * (R_GetViewNumber() > (r_splitscreen > 1)), + vid.width / (r_splitscreen > 1 ? 2 : 1), + vid.height / (r_splitscreen ? 2 : 1), + V_NOSCALESTART, 31, fade );