From ece8e95853429f220016f9b5cdfefb7f0c344d38 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Tue, 10 Jan 2017 15:16:55 +0100 Subject: [PATCH] Revert range adjustment (can't make out if this is wrong or not - if it is, it is wrong across the entire function) --- src/swrenderer/drawers/r_draw_pal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swrenderer/drawers/r_draw_pal.cpp b/src/swrenderer/drawers/r_draw_pal.cpp index 6cc4568637..a55705cb7d 100644 --- a/src/swrenderer/drawers/r_draw_pal.cpp +++ b/src/swrenderer/drawers/r_draw_pal.cpp @@ -2720,7 +2720,7 @@ namespace swrenderer } } } - for (; i < width; i++) + for (; i <= width; i++) { tiltlighting[i] = lightfiller; }