[Scummvm-cvs-logs] scummvm master -> f7ec415582626950560d87507cdc89b4526f55df

bluegr bluegr at gmail.com
Wed Mar 16 22:18:33 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
f7ec415582 SCI32: Fix updated screen item count in remapMarkRedraw()


Commit: f7ec415582626950560d87507cdc89b4526f55df
    https://github.com/scummvm/scummvm/commit/f7ec415582626950560d87507cdc89b4526f55df
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2016-03-16T23:18:02+02:00

Commit Message:
SCI32: Fix updated screen item count in remapMarkRedraw()

Thanks to snover for noticing this

Changed paths:
    engines/sci/graphics/plane32.cpp



diff --git a/engines/sci/graphics/plane32.cpp b/engines/sci/graphics/plane32.cpp
index 9e75379..d05e4f7 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();
 			}
 		}
 	}






More information about the Scummvm-git-logs mailing list