diff options
author | Eugene Sandulenko | 2015-11-27 22:30:52 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-11-27 22:34:26 +0100 |
commit | a92ecf7b5388c03cd9e899645da2430caaf89e60 (patch) | |
tree | 7671f4c1406ee1388908bba458f56830aa74ae1d /engines | |
parent | 866baf1d9a3a1a463fc4fe83c287168291b865ac (diff) | |
download | scummvm-rg350-a92ecf7b5388c03cd9e899645da2430caaf89e60.tar.gz scummvm-rg350-a92ecf7b5388c03cd9e899645da2430caaf89e60.tar.bz2 scummvm-rg350-a92ecf7b5388c03cd9e899645da2430caaf89e60.zip |
AGI: Removed excess check
Diffstat (limited to 'engines')
-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; } |