From aef02cb3478c7048ae8d10b9bef1d1c9567620be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustaf=20Alh=C3=A4ll?= Date: Thu, 26 Jun 2025 19:51:01 +0200 Subject: [PATCH] Fix one-pixel wide gaps in tall sprites --- src/r_draw_column.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_draw_column.cpp b/src/r_draw_column.cpp index 7754a2705..bc91ef0d3 100644 --- a/src/r_draw_column.cpp +++ b/src/r_draw_column.cpp @@ -220,7 +220,7 @@ static void R_DrawColumnTemplate(drawcolumndata_t *dc) frac += FRACUNIT; // texture has no height, so just go - while (--count > 0) + while (--count >= 0) { *dest = R_DrawColumnPixel(dc, dest, frac>>FRACBITS, source, colormap); dest += stride;