aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2012-04-28 17:09:53 +0200
committerEugene Sandulenko2018-03-28 17:36:57 +0200
commit2462b8d340c5345d4d2b18b138888cf9399ee902 (patch)
treecb3acc1978810598a19de152f0a7c2d6adbc457a
parentd65cd866e73e54c4e6971e1ef82d6c988f283e9a (diff)
downloadscummvm-rg350-2462b8d340c5345d4d2b18b138888cf9399ee902.tar.gz
scummvm-rg350-2462b8d340c5345d4d2b18b138888cf9399ee902.tar.bz2
scummvm-rg350-2462b8d340c5345d4d2b18b138888cf9399ee902.zip
LILLIPUT: Fix bug
-rw-r--r--engines/lilliput/lilliput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lilliput/lilliput.cpp b/engines/lilliput/lilliput.cpp
index 2a6c009e16..a3e0217f7c 100644
--- a/engines/lilliput/lilliput.cpp
+++ b/engines/lilliput/lilliput.cpp
@@ -636,8 +636,8 @@ void LilliputEngine::sub16217() {
_characterPositionY[i] = var4;
}
- _scriptHandler->_array16123[i] = (_characterPositionX[i] & 0xFF);
- _scriptHandler->_array1614B[i] = (_characterPositionY[i] & 0xFF);
+ _scriptHandler->_array16123[i] = _characterPositionX[i] >> 3;
+ _scriptHandler->_array1614B[i] = _characterPositionY[i] >> 3;
_characterRelativePositionX[i] = 0xFF;
_characterRelativePositionY[i] = 0xFF;
_characterDisplayX[i] = 0xFF;