diff options
Diffstat (limited to 'engines/sci')
-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 40cb56522f..b7dca1451a 100644 --- a/engines/sci/graphics/plane32.cpp +++ b/engines/sci/graphics/plane32.cpp @@ -476,7 +476,7 @@ void Plane::decrementScreenItemArrayCounts(Plane *visiblePlane, const bool force ( forceUpdate && visiblePlane != nullptr && - Common::find(visiblePlane->_screenItemList.begin(), visiblePlane->_screenItemList.end(), item) != visiblePlane->_screenItemList.end() + visiblePlane->_screenItemList.findByObject(item->_object) != 0 ) ) { *visiblePlane->_screenItemList[i] = *_screenItemList[i]; |