diff options
author | Travis Howell | 2006-04-14 09:06:39 +0000 |
---|---|---|
committer | Travis Howell | 2006-04-14 09:06:39 +0000 |
commit | 8a7950d87b4d706f1c737788f89331032ba83e62 (patch) | |
tree | 66f380b9aafa5f248933186742298e45229f899d /engines/simon | |
parent | 081a7b737ae04e939707220fe8d4b91ae3419c54 (diff) | |
download | scummvm-rg350-8a7950d87b4d706f1c737788f89331032ba83e62.tar.gz scummvm-rg350-8a7950d87b4d706f1c737788f89331032ba83e62.tar.bz2 scummvm-rg350-8a7950d87b4d706f1c737788f89331032ba83e62.zip |
Remove unused code
svn-id: r21877
Diffstat (limited to 'engines/simon')
-rw-r--r-- | engines/simon/vga.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp index 18b07bee0a..9c68891fa1 100644 --- a/engines/simon/vga.cpp +++ b/engines/simon/vga.cpp @@ -1805,7 +1805,6 @@ void SimonEngine::vc41() { if ((uint16)(value - _scrollX) < 11) { _scrollCount = -20; - tmp = _scrollXMax - _scrollX; if (_scrollX < 20) _scrollCount = -_scrollX; add_vga_timer(6, NULL, 0, 0); /* special timer */ @@ -2504,7 +2503,6 @@ void SimonEngine::checkScrollX(int x, int xpos) { if ((uint16)(xpos - _scrollX) < 161) { _scrollCount = -320; - tmp = _scrollXMax - _scrollX; if (_scrollX < 320) _scrollCount = -_scrollX; } @@ -2516,7 +2514,7 @@ void SimonEngine::checkScrollY(int y, int ypos) { return; int16 tmp; - if (y > 0) { + if (y >= 0) { if (_scrollCount != 0) { if (_scrollCount >= 0) return; @@ -2542,7 +2540,6 @@ void SimonEngine::checkScrollY(int y, int ypos) { if ((uint16)(ypos - _scrollY) < 100) { _scrollCount = -240; - tmp = _scrollYMax - _scrollY; if (_scrollY < 240) _scrollCount = -_scrollY; } |