aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2006-04-29 13:01:35 +0000
committerMax Horn2006-04-29 13:01:35 +0000
commit1735b0421bbbc1fcd2a6d0126a152ceef39b6b43 (patch)
treee8abcdb9a8c58b8014022284aee2f9e3ea6df32f /engines/scumm/gfx.cpp
parentcc3fac2ead745876f618a904d2029080730a2baf (diff)
downloadscummvm-rg350-1735b0421bbbc1fcd2a6d0126a152ceef39b6b43.tar.gz
scummvm-rg350-1735b0421bbbc1fcd2a6d0126a152ceef39b6b43.tar.bz2
scummvm-rg350-1735b0421bbbc1fcd2a6d0126a152ceef39b6b43.zip
Make use of the new scummLoop_* functions to move some SCUMM version specific stuff around
svn-id: r22219
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r--engines/scumm/gfx.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 46255ef245..663edcdf30 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -790,7 +790,6 @@ void ScummEngine::redrawBGAreas() {
redrawBGStrip(0, 1);
} else if (_fullRedraw || diff != 0) {
_bgNeedsRedraw = false;
- _flashlight.isDrawn = false;
redrawBGStrip(0, gdi._numStrips);
}
}
@@ -1090,7 +1089,7 @@ void ScummEngine::drawBox(int x, int y, int x2, int y2, int color) {
}
}
-void ScummEngine::drawFlashlight() {
+void ScummEngine_v5::drawFlashlight() {
int i, j, x, y;
VirtScreen *vs = &virtscr[kMainVirtScreen];