aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;