diff options
author | Filippos Karapetis | 2013-01-10 21:16:57 +0200 |
---|---|---|
committer | Filippos Karapetis | 2013-01-11 02:24:17 +0200 |
commit | 13ec242a2c5f832e2cfcce47ff1d0085002b2bb6 (patch) | |
tree | ac9f0d2e7f17c4d7ced130f2b9301897e06e8516 /engines/sci | |
parent | 14be8d828298b40f42bf55c0ffee23bc4622f7c8 (diff) | |
download | scummvm-rg350-13ec242a2c5f832e2cfcce47ff1d0085002b2bb6.tar.gz scummvm-rg350-13ec242a2c5f832e2cfcce47ff1d0085002b2bb6.tar.bz2 scummvm-rg350-13ec242a2c5f832e2cfcce47ff1d0085002b2bb6.zip |
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
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/graphics/frameout.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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 |