From 93d90fd0577acc94f79c354ae1da8322b4caa326 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 22 May 2005 15:52:39 +0000 Subject: 'len' is not initialized at this point, but if the purpose is to reset tmp3 to its original value, this should do just as well. But I don't know where it's used, so I can't really test this. svn-id: r18221 --- scumm/script_v72he.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm/script_v72he.cpp') diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index c7c2057c68..590a63dcaf 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1515,14 +1515,14 @@ void ScummEngine_v72he::o72_arrayOps() { offs = (b >= c) ? 1 : -1; tmp2 = c; - tmp3 = c - b + 1;; + tmp3 = c - b + 1; while (dim2start <= dim2end) { tmp = dim1start; while (tmp <= dim1end) { writeArray(array, dim2start, tmp, tmp2); if (--tmp3 == 0) { tmp2 = c; - tmp3 = len; + tmp3 = c - b + 1; } else { tmp2 += offs; } -- cgit v1.2.3