[Scummvm-cvs-logs] scummvm master -> 0abd5b5c4e4074d1b6d3dfb17ee5737280e6f28f
csnover
csnover at users.noreply.github.com
Sun Feb 21 16:33:29 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:
0abd5b5c4e SCI: Use nullptr instead of 0 for null pointer checks
Commit: 0abd5b5c4e4074d1b6d3dfb17ee5737280e6f28f
https://github.com/scummvm/scummvm/commit/0abd5b5c4e4074d1b6d3dfb17ee5737280e6f28f
Author: Colin Snover (github.com at zetafleet.com)
Date: 2016-02-21T09:32:34-06:00
Commit Message:
SCI: Use nullptr instead of 0 for null pointer checks
Changed paths:
engines/sci/graphics/plane32.cpp
diff --git a/engines/sci/graphics/plane32.cpp b/engines/sci/graphics/plane32.cpp
index b7dca14..d0de5b5 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];
More information about the Scummvm-git-logs
mailing list