diff options
author | Strangerke | 2012-06-19 08:22:51 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-03-28 17:36:57 +0200 |
commit | 7fa6dea35585a654caf52302e6c5512513c43cf1 (patch) | |
tree | 1f211d4a6d8f3c081e870f8f1600ce56bf1866cb | |
parent | a1c5e27b77ace733716e9a389e77588ab2f7d6f0 (diff) | |
download | scummvm-rg350-7fa6dea35585a654caf52302e6c5512513c43cf1.tar.gz scummvm-rg350-7fa6dea35585a654caf52302e6c5512513c43cf1.tar.bz2 scummvm-rg350-7fa6dea35585a654caf52302e6c5512513c43cf1.zip |
LILLIPUT: Improve hack in sub16EBC() to avoid checking inactive characters
-rw-r--r-- | engines/lilliput/lilliput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lilliput/lilliput.cpp b/engines/lilliput/lilliput.cpp index 9b1b2fd679..5047dc038e 100644 --- a/engines/lilliput/lilliput.cpp +++ b/engines/lilliput/lilliput.cpp @@ -1850,7 +1850,7 @@ void LilliputEngine::sub16EBC() { for (int index1 = _numCharacters - 1; index1 >= 0; index1--) { // Hack: The original doesn't check if it's disabled, which looks wrong - if (_scriptHandler->_array1614BPosY[index1] == -1) + if ((_scriptHandler->_array16123PosX[index1] == -1) || (_scriptHandler->_array1614BPosY[index1] == -1)) continue; // |