diff options
Diffstat (limited to 'engines/sci/gui/gui.cpp')
-rw-r--r-- | engines/sci/gui/gui.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp index b1638d2480..24a1ecb03d 100644 --- a/engines/sci/gui/gui.cpp +++ b/engines/sci/gui/gui.cpp @@ -433,6 +433,15 @@ void SciGui::graphUpdateBox(Common::Rect rect) { _gfx->BitsShow(rect); } +int16 SciGui::picNotValid(int16 newPicNotValid) { + int16 oldPicNotValid = _screen->_picNotValid; + + if (newPicNotValid != -1) + _screen->_picNotValid = newPicNotValid; + + return oldPicNotValid; +} + void SciGui::paletteSet(int resourceNo, int flags) { _palette->setFromResource(resourceNo, flags); |