From d37505ff06f37716f879f047e4488b9a8f1eccf0 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 56dfb8d76..3f96ed419 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -843,13 +843,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