aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2015-11-27 22:30:52 +0100
committerEugene Sandulenko2015-11-27 22:34:26 +0100
commita92ecf7b5388c03cd9e899645da2430caaf89e60 (patch)
tree7671f4c1406ee1388908bba458f56830aa74ae1d
parent866baf1d9a3a1a463fc4fe83c287168291b865ac (diff)
downloadscummvm-rg350-a92ecf7b5388c03cd9e899645da2430caaf89e60.tar.gz
scummvm-rg350-a92ecf7b5388c03cd9e899645da2430caaf89e60.tar.bz2
scummvm-rg350-a92ecf7b5388c03cd9e899645da2430caaf89e60.zip
AGI: Removed excess check
-rw-r--r--engines/agi/wagparser.cpp2
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;
}