aboutsummaryrefslogtreecommitdiff
path: root/scumm/camera.cpp
diff options
context:
space:
mode:
authorMax Horn2003-06-01 14:30:26 +0000
committerMax Horn2003-06-01 14:30:26 +0000
commitcb5fb5d40381d76d6438a6eff882918de0d637a8 (patch)
tree69a7adb05844df85b24860857e967e0214e9ddba /scumm/camera.cpp
parent2591a4f018e3b884427f18f3fe1710b7f1c6fd1e (diff)
downloadscummvm-rg350-cb5fb5d40381d76d6438a6eff882918de0d637a8.tar.gz
scummvm-rg350-cb5fb5d40381d76d6438a6eff882918de0d637a8.tar.bz2
scummvm-rg350-cb5fb5d40381d76d6438a6eff882918de0d637a8.zip
added a getMaskBuffer method (makes it easier to read some of the code); merged setVirtscreenDirty() into updateDirtyRect(); made setDirtyRange a method of struct VirtScreen
svn-id: r8241
Diffstat (limited to 'scumm/camera.cpp')
-rw-r--r--scumm/camera.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/camera.cpp b/scumm/camera.cpp
index 90119cb90d..4f027e3a75 100644
--- a/scumm/camera.cpp
+++ b/scumm/camera.cpp
@@ -54,6 +54,7 @@ void Scumm::setCameraAt(int pos_x, int pos_y) {
runScript(VAR(VAR_SCROLL_SCRIPT), 0, 0, 0);
}
+ // If the camera moved and text is visible, remove it
if (camera._cur.x != camera._last.x && _charset->_hasMask)
stopTalk();
}