From 8896ba99fcde2b694dfe86769c3fc1621d8b3296 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 28 Nov 2012 20:40:39 +1100 Subject: HOPKINS: Fix incorrect loop increment in CONTOURNE method --- engines/hopkins/lines.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/hopkins/lines.cpp b/engines/hopkins/lines.cpp index 1c383762d8..1d93096987 100644 --- a/engines/hopkins/lines.cpp +++ b/engines/hopkins/lines.cpp @@ -702,7 +702,7 @@ int LinesManager::CONTOURNE(int a1, int a2, int a3, int a4, int a5, int16 *a6, i } } } else { - for (int i = v7; i > a5; i++) { + for (int i = v7; i > a5; --i) { int16 *v26 = Ligne[a4].lineData; int v27 = v26[2 * i]; v50 = v26[2 * i+ 1]; -- cgit v1.2.3