From 532828c143e0872525dadfe8b0ebe804f7071633 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sat, 25 Mar 2017 12:05:57 -0500 Subject: SCI: Remove old SCI32 check from SCI16 drawing code --- engines/sci/graphics/view.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'engines/sci') 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); -- cgit v1.2.3