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
This commit is contained in:
Filippos Karapetis 2013-01-10 21:16:57 +02:00
parent 14be8d8282
commit 13ec242a2c

View File

@ -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