diff options
author | Martin Kiewitz | 2010-06-24 21:46:57 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-24 21:46:57 +0000 |
commit | aa3bfe5489f45f922574265d21a9aa8059e5b208 (patch) | |
tree | e87657030dc7ad6c9321fbb2b0f5c89e02dc99c7 /engines/sci/engine/seg_manager.cpp | |
parent | f014c9ed7ef5a193ce17ba870698a389a65a985a (diff) | |
download | scummvm-rg350-aa3bfe5489f45f922574265d21a9aa8059e5b208.tar.gz scummvm-rg350-aa3bfe5489f45f922574265d21a9aa8059e5b208.tar.bz2 scummvm-rg350-aa3bfe5489f45f922574265d21a9aa8059e5b208.zip |
SCI: doing the exact opposite of r50236 code-wise now, as it was meant to be
svn-id: r50237
Diffstat (limited to 'engines/sci/engine/seg_manager.cpp')
-rw-r--r-- | engines/sci/engine/seg_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/seg_manager.cpp b/engines/sci/engine/seg_manager.cpp index 6a03a959b3..e011de67d9 100644 --- a/engines/sci/engine/seg_manager.cpp +++ b/engines/sci/engine/seg_manager.cpp @@ -616,7 +616,7 @@ static inline char getChar(const SegmentRef &ref, uint offset) { // we can safely ignore this, if it isn't one of the first 2 chars. // foreign lsl3 uses kFileIO(readraw) and then immediately uses kReadNumber right at the start if (val.segment != 0) - if ((offset > 1) && val.segment == 0xFFFF) + if (!((val.segment == 0xFFFF) && (offset > 1))) warning("Attempt to read character from non-raw data"); return (offset & 1 ? val.offset >> 8 : val.offset & 0xff); |