GOB: Shut up VS2010 code analysis warning

This commit is contained in:
Sven Hesse 2011-04-20 23:10:00 +02:00
parent c15b858765
commit 804f0f3e47

View File

@ -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