aboutsummaryrefslogtreecommitdiff
path: root/scumm/camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/camera.cpp')
-rw-r--r--scumm/camera.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/camera.cpp b/scumm/camera.cpp
index bf2f23ab46..d6e0b17b65 100644
--- a/scumm/camera.cpp
+++ b/scumm/camera.cpp
@@ -347,12 +347,12 @@ void ScummEngine::cameraMoved() {
// When talking to Rusty for first time
// When sleeping in straw at Blacksmith's Guild.
if ((_gameId == GID_LOOM256 || _gameId == GID_PASS) && dx)
- gdi._mask.left -= 8;
+ _charset->_mask.left -= 8;
else if (dx || dy) {
- gdi._mask.left -= dx;
- gdi._mask.right -= dx;
- gdi._mask.top -= dy;
- gdi._mask.bottom -= dy;
+ _charset->_mask.left -= dx;
+ _charset->_mask.right -= dx;
+ _charset->_mask.top -= dy;
+ _charset->_mask.bottom -= dy;
}
}
}