From d3cbf0cd6f1afa18ebc7658952615f893bfa4832 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Thu, 25 Aug 2022 00:31:23 -0400 Subject: [PATCH] Oops, properly scale for high-res/splitscreen prboom-plus uses 320 here always, but that's because it handles high resolutions differently apparently. --- src/r_things.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_things.c b/src/r_things.c index f067094c3..264fc6f2e 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -3186,7 +3186,7 @@ void R_ClipVisSprite(vissprite_t *spr, INT32 x1, INT32 x2, portal_t* portal) void R_ClipSprites(drawseg_t* dsstart, portal_t* portal) { const size_t maxdrawsegs = ds_p - dsstart; - const INT32 cx = BASEVIDWIDTH / 2; + const INT32 cx = viewwidth / 2; drawseg_t* ds; INT32 i;