diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/lists32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/lists32.h b/engines/sci/graphics/lists32.h index f745a2cb6d..bb990e17ca 100644 --- a/engines/sci/graphics/lists32.h +++ b/engines/sci/graphics/lists32.h @@ -184,7 +184,7 @@ class FindByObject { public: FindByObject(const reg_t &object) : _object(object) {} bool operator()(const T entry) const { - return entry->_object == _object; + return entry && entry->_object == _object; } }; |