mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 03:40:25 +00:00
LILLIPUT: Fix bug in OC_scrollViewPort
This commit is contained in:
parent
de7c3d345e
commit
2aa505fcc8
@ -2822,8 +2822,8 @@ void LilliputScript::OC_scrollViewPort() {
|
||||
int x = _viewportPos.x + scrollValX[direction];
|
||||
int y = _viewportPos.y + scrollValY[direction];
|
||||
|
||||
CLIP(x, 0, 56);
|
||||
CLIP(y, 0, 56);
|
||||
x = CLIP(x, 0, 56);
|
||||
y = CLIP(y, 0, 56);
|
||||
|
||||
_vm->_refreshScreenFlag = true;
|
||||
_vm->viewportScrollTo(Common::Point(x, y));
|
||||
|
Loading…
Reference in New Issue
Block a user