aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-03-14 12:11:16 +0000
committerTravis Howell2006-03-14 12:11:16 +0000
commit3d0e69a495a52c20f3d1f10eab0d802d26ae0755 (patch)
treecafd5df852ab417056bb7e3442c5f33ff95bc966 /engines
parentbe7a28f65e35b8e8a7c8e60c9b0bcb1923a3d942 (diff)
downloadscummvm-rg350-3d0e69a495a52c20f3d1f10eab0d802d26ae0755.tar.gz
scummvm-rg350-3d0e69a495a52c20f3d1f10eab0d802d26ae0755.tar.bz2
scummvm-rg350-3d0e69a495a52c20f3d1f10eab0d802d26ae0755.zip
Adjust one last spot, for previous VAR_CURRENT_LIGHTS changes
svn-id: r21278
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index e4ac7ff1a1..4fbbe66f8a 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -1180,7 +1180,7 @@ int ScummEngine::getCurrentLights() const {
}
bool ScummEngine::isLightOn() const {
- return (VAR_CURRENT_LIGHTS == 0xFF) || (getCurrentLights() & LIGHTMODE_screen);
+ return (_game.version >= 6) || (getCurrentLights() & LIGHTMODE_screen);
}
void ScummEngine::setShake(int mode) {