diff options
author | uruk | 2014-08-11 16:10:14 +0200 |
---|---|---|
committer | uruk | 2014-08-11 16:10:14 +0200 |
commit | 3e3430ed5de5155fadd6d23ea719f413bcc4e6e6 (patch) | |
tree | 4772ddd642e1e31b06e6fb2641d3fe724f000cc8 /engines | |
parent | 235e3d396e0aa9d8a0ad1427d189a5e9eb243344 (diff) | |
download | scummvm-rg350-3e3430ed5de5155fadd6d23ea719f413bcc4e6e6.tar.gz scummvm-rg350-3e3430ed5de5155fadd6d23ea719f413bcc4e6e6.tar.bz2 scummvm-rg350-3e3430ed5de5155fadd6d23ea719f413bcc4e6e6.zip |
CGE2: Fix EncryptedStream::err().
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge2/fileio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/fileio.cpp b/engines/cge2/fileio.cpp index ea218647f9..6f8009716b 100644 --- a/engines/cge2/fileio.cpp +++ b/engines/cge2/fileio.cpp @@ -231,7 +231,7 @@ uint32 EncryptedStream::readUint32LE() { } bool EncryptedStream::err() { - return (_error & _readStream->err()); + return (_error || _readStream->err()); } bool EncryptedStream::eos() { |