diff options
author | Colin Snover | 2016-02-21 09:32:34 -0600 |
---|---|---|
committer | Colin Snover | 2016-02-21 09:32:34 -0600 |
commit | 0abd5b5c4e4074d1b6d3dfb17ee5737280e6f28f (patch) | |
tree | ce239547f35be4a379bded189943643ea184218c | |
parent | 88289670f2ee867fb0a3eaa6f3ecdf56ca8600fd (diff) | |
download | scummvm-rg350-0abd5b5c4e4074d1b6d3dfb17ee5737280e6f28f.tar.gz scummvm-rg350-0abd5b5c4e4074d1b6d3dfb17ee5737280e6f28f.tar.bz2 scummvm-rg350-0abd5b5c4e4074d1b6d3dfb17ee5737280e6f28f.zip |
SCI: Use nullptr instead of 0 for null pointer checks
-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 b7dca1451a..d0de5b5917 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 && - visiblePlane->_screenItemList.findByObject(item->_object) != 0 + visiblePlane->_screenItemList.findByObject(item->_object) != nullptr ) ) { *visiblePlane->_screenItemList[i] = *_screenItemList[i]; |