From 6d419559a20409e11e0b10ca193dc780aa37ff71 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 1 May 2006 13:53:30 +0000 Subject: [PATCH] Minor cleanup svn-id: r22258 --- engines/simon/cursor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engines/simon/cursor.cpp b/engines/simon/cursor.cpp index 48e6fd8e3bf..2dd680a7654 100644 --- a/engines/simon/cursor.cpp +++ b/engines/simon/cursor.cpp @@ -505,8 +505,7 @@ void SimonEngine::drawMousePart(byte *dst, int pitch, int image, int offs) { return; } } else { - tmp = _mouseOffs[offs + 1] + _mouseCountY; - if (tmp >= 40) { + if (_mouseOffs[offs + 1] + _mouseCountY >= 40) { tmp = 40 - _mouseCountY; while (tmp--) dst -= pitch;