From d6019755973d4a64b44507a8195cc93ae4c8ce0b Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 13 Oct 2024 02:58:46 +0200 Subject: [PATCH] this should be SHORT --- src/r_things.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/r_things.c b/src/r_things.c index 8848fdbb1..68607f795 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -851,13 +851,14 @@ static void R_DrawVisSprite(vissprite_t *vis) vis->x2 = vid.width-1; localcolfunc = (vis->vflip) ? R_DrawFlippedMaskedColumn : R_DrawMaskedColumn; - lengthcol = patch->height; + lengthcol = SHORT(patch->height); // Split drawing loops for paper and non-paper to reduce conditional checks per sprite if (vis->scalestep) { fixed_t horzscale = FixedMul(vis->spritexscale, this_scale); fixed_t scalestep = FixedMul(vis->scalestep, vis->spriteyscale); + pwidth = SHORT(patch->width); // Papersprite drawing loop