aboutsummaryrefslogtreecommitdiff
path: root/engines/cge
diff options
context:
space:
mode:
authoruruk2014-08-11 16:16:54 +0200
committeruruk2014-08-11 16:16:54 +0200
commit51ac9cadd4aa4aa0dcbafe1ab1e65db89ae2238c (patch)
treed43691392e5fdf31786b1c829a7d73c94390b5bd /engines/cge
parentc3f3b623d6492e172db959b310ca4bcfd84f280e (diff)
downloadscummvm-rg350-51ac9cadd4aa4aa0dcbafe1ab1e65db89ae2238c.tar.gz
scummvm-rg350-51ac9cadd4aa4aa0dcbafe1ab1e65db89ae2238c.tar.bz2
scummvm-rg350-51ac9cadd4aa4aa0dcbafe1ab1e65db89ae2238c.zip
CGE: Fix EncryptedStream::err().
Diffstat (limited to 'engines/cge')
-rw-r--r--engines/cge/fileio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/fileio.cpp b/engines/cge/fileio.cpp
index 2b1f74db02..d910e275eb 100644
--- a/engines/cge/fileio.cpp
+++ b/engines/cge/fileio.cpp
@@ -228,7 +228,7 @@ uint32 EncryptedStream::read(byte *dataPtr, uint32 dataSize) {
}
bool EncryptedStream::err() {
- return (_error & _readStream->err());
+ return (_error || _readStream->err());
}
bool EncryptedStream::eos() {