diff options
-rw-r--r-- | engines/agi/wagparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/wagparser.cpp b/engines/agi/wagparser.cpp index 0b49866531..54f8eaf90b 100644 --- a/engines/agi/wagparser.cpp +++ b/engines/agi/wagparser.cpp @@ -79,7 +79,7 @@ bool WagProperty::read(Common::SeekableReadStream &stream) { uint32 readBytes = stream.read(_propData, _propSize); // Read the data in _propData[_propSize] = 0; // Set the trailing zero for easy C-style string access - _readOk = (_propData != NULL && readBytes == _propSize); // Check that we got the whole data + _readOk = (readBytes == _propSize); // Check that we got the whole data return _readOk; } |