diff options
author | Colin Snover | 2016-08-24 15:22:55 -0500 |
---|---|---|
committer | Colin Snover | 2016-08-24 15:22:55 -0500 |
commit | 64f4ad4ad55319fbf4af3af1eb768a05df2c129d (patch) | |
tree | 74d748e2cae0f4d88e2d3370ddac1ac3e905a358 /engines | |
parent | 1b6ea7821696355cb116516834c9caa068b5fc02 (diff) | |
download | scummvm-rg350-64f4ad4ad55319fbf4af3af1eb768a05df2c129d.tar.gz scummvm-rg350-64f4ad4ad55319fbf4af3af1eb768a05df2c129d.tar.bz2 scummvm-rg350-64f4ad4ad55319fbf4af3af1eb768a05df2c129d.zip |
SCI32: Fix incorrect boolean operator
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/celobj32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/celobj32.cpp b/engines/sci/graphics/celobj32.cpp index 7ca510d2ac..ea42308f3a 100644 --- a/engines/sci/graphics/celobj32.cpp +++ b/engines/sci/graphics/celobj32.cpp @@ -872,7 +872,7 @@ CelObjView::CelObjView(const GuiResourceId viewId, const int16 loopNo, const int _scaledWidth = READ_SCI11ENDIAN_UINT16(data + 14); _scaledHeight = READ_SCI11ENDIAN_UINT16(data + 16); - if (_scaledWidth == 0 || _scaledHeight == 0) { + if (_scaledWidth == 0 && _scaledHeight == 0) { byte sizeFlag = data[5]; if (sizeFlag == 0) { _scaledWidth = kLowResX; |