From 0fb6025948a9fc2462bd5945136eb8cd279550d5 Mon Sep 17 00:00:00 2001 From: qndel Date: Thu, 3 Oct 2019 14:51:40 +0200 Subject: [PATCH] scrollrt_draw_lower_2 cleanup --- Source/scrollrt.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/scrollrt.cpp b/Source/scrollrt.cpp index 29fcbdc56..fd1db8295 100644 --- a/Source/scrollrt.cpp +++ b/Source/scrollrt.cpp @@ -1082,8 +1082,7 @@ void scrollrt_draw_lower_2(int x, int y, int sx, int sy, int chunks, int skipChu } j = chunks; - while (j != 0) { - j--; + while (j-- != 0) { if (x >= MAXDUNX || y < 0) { break; }