From 13ec242a2c5f832e2cfcce47ff1d0085002b2bb6 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 10 Jan 2013 21:16:57 +0200 Subject: SCI: Disable modification of object NS rects in SCI32 This fixes the sliders in QFG4 without introducing any regressions, as the objects are still drawn on screen using the per-frame adjusted coordinates --- engines/sci/graphics/frameout.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'engines/sci/graphics') diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp index 8b7fa2c384..d33bf4c64e 100644 --- a/engines/sci/graphics/frameout.cpp +++ b/engines/sci/graphics/frameout.cpp @@ -726,7 +726,12 @@ void GfxFrameout::kernelFrameout() { continue; } - g_sci->_gfxCompare->setNSRect(itemEntry->object, nsRect); + // FIXME: We should not update the object's NS rect here. + // This breaks the sliders in the control panel screen in + // QFG4, but disabling it does not change any functionality, + // as the object(s) will be drawn on screen with the + // calculated coordinates. + //g_sci->_gfxCompare->setNSRect(itemEntry->object, nsRect); } // Don't attempt to draw sprites that are outside the visible -- cgit v1.2.3