diff options
author | Max Horn | 2003-05-30 01:37:50 +0000 |
---|---|---|
committer | Max Horn | 2003-05-30 01:37:50 +0000 |
commit | 9f301f16e611c1b67ba3fca6508c3d11224c8df8 (patch) | |
tree | 28661394bd3c387930811ac8c0a2505cbc34abd7 /scumm | |
parent | 997f6564c6b1ebb9e1c489a83be45ed1a77aeb47 (diff) | |
download | scummvm-rg350-9f301f16e611c1b67ba3fca6508c3d11224c8df8.tar.gz scummvm-rg350-9f301f16e611c1b67ba3fca6508c3d11224c8df8.tar.bz2 scummvm-rg350-9f301f16e611c1b67ba3fca6508c3d11224c8df8.zip |
removed more harmful clipping
svn-id: r8128
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/gfx.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 4a683d3ef7..435ef41947 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -285,13 +285,11 @@ void Scumm::updateDirtyRect(int virt, int left, int right, int top, int bottom, VirtScreen *vs = &virtscr[virt]; int lp, rp; - if (top > vs->height || left > vs->width || right < 0 || bottom < 0) + if (top > vs->height || right < 0 || bottom < 0) return; if (top < 0) top = 0; - if (left < 0) - left = 0; if (bottom > vs->height) bottom = vs->height; |