From bf6c42d816bd8e6f87c4ecb7459bafcecaf0d010 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 14 Jan 2012 16:37:07 +0200 Subject: SCI: Don't clip the plane rectangle in kernelDeletePlane() The actual cause for this clipping has been fixed --- engines/sci/graphics/frameout.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'engines/sci/graphics/frameout.cpp') diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp index 1402dc9e4d..e3fac80f7c 100644 --- a/engines/sci/graphics/frameout.cpp +++ b/engines/sci/graphics/frameout.cpp @@ -195,10 +195,6 @@ void GfxFrameout::kernelDeletePlane(reg_t object) { planeRect.left = (planeRect.left * screenRect.width()) / _scriptsRunningWidth; planeRect.bottom = (planeRect.bottom * screenRect.height()) / _scriptsRunningHeight; planeRect.right = (planeRect.right * screenRect.width()) / _scriptsRunningWidth; - planeRect.clip(screenRect); // we need to do this, at least in gk1 on cemetary we get bottom right -> 201, 321 - // FIXME: The code above incorrectly added 1 pixel to the plane's - // bottom and right, so probably the plane clipping code is no - // longer necessary // Blackout removed plane rect _paint32->fillRect(planeRect, 0); return; -- cgit v1.2.3