mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 23:57:32 +00:00
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:
parent
14be8d8282
commit
13ec242a2c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user