aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2011-04-20 23:10:00 +0200
committerSven Hesse2011-04-20 23:10:00 +0200
commit804f0f3e477a933ecb0cade7de9cbb35e30a51e4 (patch)
tree2846aba661a32e285ebec9fc1fb165fc37a369ed /engines/gob
parentc15b858765e9ad606c8e84bdf48744957983a49a (diff)
downloadscummvm-rg350-804f0f3e477a933ecb0cade7de9cbb35e30a51e4.tar.gz
scummvm-rg350-804f0f3e477a933ecb0cade7de9cbb35e30a51e4.tar.bz2
scummvm-rg350-804f0f3e477a933ecb0cade7de9cbb35e30a51e4.zip
GOB: Shut up VS2010 code analysis warning
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/save/savefile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/save/savefile.cpp b/engines/gob/save/savefile.cpp
index d472ef600b..45cd2a2b7d 100644
--- a/engines/gob/save/savefile.cpp
+++ b/engines/gob/save/savefile.cpp
@@ -336,7 +336,7 @@ bool SavePartSprite::read(Common::ReadStream &stream) {
// If it's in the current format, the true color flag has to be the same too
if (!_oldFormat)
- if (stream.readByte() != _trueColor)
+ if ((stream.readByte() != 0) != _trueColor)
return false;
// Sprite data