Skip to content

Commit

Permalink
SCI: Don't clip the plane rectangle in kernelDeletePlane()
Browse files Browse the repository at this point in the history
The actual cause for this clipping has been fixed
  • Loading branch information
bluegr committed Jan 14, 2012
1 parent 20bcb05 commit bf6c42d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions engines/sci/graphics/frameout.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit bf6c42d

Please sign in to comment.