diff options
author | Paul Gilbert | 2012-11-28 20:40:39 +1100 |
---|---|---|
committer | Paul Gilbert | 2012-11-28 20:40:39 +1100 |
commit | 8896ba99fcde2b694dfe86769c3fc1621d8b3296 (patch) | |
tree | 4a538b46c8c04f08b090c84d9645373e8f385f2c | |
parent | 81d8ec5a74c784b4cd6c9cf9d9ffdefc6d6f8db4 (diff) | |
download | scummvm-rg350-8896ba99fcde2b694dfe86769c3fc1621d8b3296.tar.gz scummvm-rg350-8896ba99fcde2b694dfe86769c3fc1621d8b3296.tar.bz2 scummvm-rg350-8896ba99fcde2b694dfe86769c3fc1621d8b3296.zip |
HOPKINS: Fix incorrect loop increment in CONTOURNE method
-rw-r--r-- | engines/hopkins/lines.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |