Tally: fix fade not covering entire screen in non-green resolutions

This commit is contained in:
James R 2023-10-17 19:17:46 -07:00
parent 170133dac2
commit 3977d3225d

View file

@ -909,10 +909,13 @@ void level_tally_t::Draw(void)
{ {
fade = (5 * transition_f); fade = (5 * transition_f);
} }
V_DrawFadeFill( V_DrawFadeFill(
0, 0, (vid.width / 2) * (r_splitscreen > 1 && R_GetViewNumber() & 1),
v_width, v_height, (vid.height / 2) * (R_GetViewNumber() > (r_splitscreen > 1)),
V_SPLITSCREEN, vid.width / (r_splitscreen > 1 ? 2 : 1),
vid.height / (r_splitscreen ? 2 : 1),
V_NOSCALESTART,
31, fade 31, fade
); );