aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authoruruk2014-08-11 16:10:14 +0200
committeruruk2014-08-11 16:10:14 +0200
commit3e3430ed5de5155fadd6d23ea719f413bcc4e6e6 (patch)
tree4772ddd642e1e31b06e6fb2641d3fe724f000cc8 /engines
parent235e3d396e0aa9d8a0ad1427d189a5e9eb243344 (diff)
downloadscummvm-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.cpp2
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() {