diff options
author | Travis Howell | 2006-05-01 13:53:30 +0000 |
---|---|---|
committer | Travis Howell | 2006-05-01 13:53:30 +0000 |
commit | 6d419559a20409e11e0b10ca193dc780aa37ff71 (patch) | |
tree | 8775a8e95dc8a8624c7b2b462307ecf4b7a85aed | |
parent | 73dbd2887353f5273d5ae2a7fe579f3ee3d23921 (diff) | |
download | scummvm-rg350-6d419559a20409e11e0b10ca193dc780aa37ff71.tar.gz scummvm-rg350-6d419559a20409e11e0b10ca193dc780aa37ff71.tar.bz2 scummvm-rg350-6d419559a20409e11e0b10ca193dc780aa37ff71.zip |
Minor cleanup
svn-id: r22258
-rw-r--r-- | engines/simon/cursor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/simon/cursor.cpp b/engines/simon/cursor.cpp index 48e6fd8e3b..2dd680a765 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; |