diff options
-rw-r--r-- | engines/sci/engine/object.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/engine/object.cpp b/engines/sci/engine/object.cpp index 2a6c96664b..2c1ab2a44a 100644 --- a/engines/sci/engine/object.cpp +++ b/engines/sci/engine/object.cpp @@ -275,7 +275,7 @@ void Object::initSelectorsSci3(const SciSpan<const byte> &buf) { _mustSetViewVisible[groupNr] = (typeMask & 1); - for (int bit = 2; bit < 32; ++bit) { + for (int bit = 2; bit < 32; ++bit) { int value = seeker.getUint16SEAt(bit * 2); if (typeMask & (1 << bit)) { // Property ++properties; @@ -284,7 +284,6 @@ void Object::initSelectorsSci3(const SciSpan<const byte> &buf) { } else { // Undefined selector } - } } else _mustSetViewVisible[groupNr] = false; |