diff options
author | Filippos Karapetis | 2016-03-16 23:18:02 +0200 |
---|---|---|
committer | Filippos Karapetis | 2016-03-16 23:18:02 +0200 |
commit | f7ec415582626950560d87507cdc89b4526f55df (patch) | |
tree | 95f918f24f0af5f16be7caa722b7879d96c30196 /engines/sci/graphics | |
parent | 10d4d306281819f6b343eea234f5e59b5b641823 (diff) | |
download | scummvm-rg350-f7ec415582626950560d87507cdc89b4526f55df.tar.gz scummvm-rg350-f7ec415582626950560d87507cdc89b4526f55df.tar.bz2 scummvm-rg350-f7ec415582626950560d87507cdc89b4526f55df.zip |
SCI32: Fix updated screen item count in remapMarkRedraw()
Thanks to snover for noticing this
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/plane32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/plane32.cpp b/engines/sci/graphics/plane32.cpp index 9e75379b58..d05e4f79e1 100644 --- a/engines/sci/graphics/plane32.cpp +++ b/engines/sci/graphics/plane32.cpp @@ -817,7 +817,7 @@ void Plane::remapMarkRedraw() { if (*screenItemPtr != nullptr) { ScreenItem &screenItem = **screenItemPtr; if (screenItem.getCelObj()._remap && !screenItem._deleted && !screenItem._created) { - screenItem._updated = _screenItemList.size(); + screenItem._updated = g_sci->_gfxFrameout->getScreenCount(); } } } |