From cb5fb5d40381d76d6438a6eff882918de0d637a8 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 1 Jun 2003 14:30:26 +0000 Subject: 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 --- scumm/camera.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scumm/camera.cpp') 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(); } -- cgit v1.2.3