aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorColin Snover2017-03-25 12:05:57 -0500
committerColin Snover2017-03-27 19:42:31 -0500
commit532828c143e0872525dadfe8b0ebe804f7071633 (patch)
treefa2aafb2485d021a8b7ae1dcfb937176588c1345 /engines
parent323e74bda97716cc34ba99a0a5534e2d87845ce9 (diff)
downloadscummvm-rg350-532828c143e0872525dadfe8b0ebe804f7071633.tar.gz
scummvm-rg350-532828c143e0872525dadfe8b0ebe804f7071633.tar.bz2
scummvm-rg350-532828c143e0872525dadfe8b0ebe804f7071633.zip
SCI: Remove old SCI32 check from SCI16 drawing code
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/graphics/view.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp
index ca029a7775..91303be5a7 100644
--- a/engines/sci/graphics/view.cpp
+++ b/engines/sci/graphics/view.cpp
@@ -912,11 +912,6 @@ void GfxView::drawScaled(const Common::Rect &rect, const Common::Rect &clipRect,
const int16 offsetY = clipRect.top - rect.top;
const int16 offsetX = clipRect.left - rect.left;
- // TODO: Remove? This class is not for SCI32
- // Happens in SQ6, first room
- if (offsetX < 0 || offsetY < 0)
- return;
-
assert(scaledHeight + offsetY <= ARRAYSIZE(scalingY));
assert(scaledWidth + offsetX <= ARRAYSIZE(scalingX));
const byte *bitmapData = bitmap.getUnsafeDataAt(0, celWidth * celHeight);