From b49cb8ff145c82050847613cfa9eed899dbc8aad Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 1 Apr 2018 20:46:18 -0400 Subject: XEEN: Properly crop scene contents from drawing on the top border --- engines/xeen/sprites.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engines/xeen/sprites.cpp b/engines/xeen/sprites.cpp index 4811f10628..f05ca1bfaf 100644 --- a/engines/xeen/sprites.cpp +++ b/engines/xeen/sprites.cpp @@ -146,6 +146,10 @@ void SpriteResource::drawOffset(XSurface &dest, uint16 offset, const Common::Poi dest.create(xOffset + width, yOffset + height); bounds = Common::Rect(0, 0, dest.w, dest.h); } + if (flags & SPRFLAG_SCENE_CLIPPED) { + bounds.top = 8; + bounds.bottom = 149; + } uint16 scaleMaskXCopy = scaleMaskX; Common::Rect drawBounds; -- cgit v1.2.3