From e857cc623e86211ae0c59630342cbeea65214e6e Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 28 Jun 2010 16:35:20 +0000 Subject: SCI: added comment - lsl5 also has too large windows svn-id: r50450 --- engines/sci/graphics/ports.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/sci') diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp index 36f84c3582..611db1061a 100644 --- a/engines/sci/graphics/ports.cpp +++ b/engines/sci/graphics/ports.cpp @@ -251,6 +251,7 @@ Window *GfxPorts::newWindow(const Common::Rect &dims, const Common::Rect *restor r = dims; if (r.width() > _screen->getWidth()) { // We get invalid dimensions at least at the end of sq3 (script bug!) + // same happens very often in lsl5, sierra sci didnt fix it but it looked awful warning("fixing too large window, given left&right was %d, %d", dims.left, dims.right); r.left = 0; r.right = _screen->getWidth() - 1; -- cgit v1.2.3