aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2006-03-14 14:06:44 +0000
committerMax Horn2006-03-14 14:06:44 +0000
commit0cc41c7cbb1fc4078f94afb9c0b62fe4b6ae8bae (patch)
tree608ed00abed301d05703b79684851aaf70956f86 /engines/scumm/gfx.cpp
parent9673573bec897126c53607089825706e40c92a1c (diff)
downloadscummvm-rg350-0cc41c7cbb1fc4078f94afb9c0b62fe4b6ae8bae.tar.gz
scummvm-rg350-0cc41c7cbb1fc4078f94afb9c0b62fe4b6ae8bae.tar.bz2
scummvm-rg350-0cc41c7cbb1fc4078f94afb9c0b62fe4b6ae8bae.zip
Renamed & documented the LIGHTMODE flags
svn-id: r21288
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r--engines/scumm/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 37affec485..95df2e4e20 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -1179,13 +1179,13 @@ int ScummEngine::getCurrentLights() const {
if (_game.id == GID_MANIAC && _game.platform == Common::kPlatformC64)
return _currentLights;
else if (_game.version >= 6)
- return LIGHTMODE_screen | LIGHTMODE_actor_color;
+ return LIGHTMODE_room_lights_on | LIGHTMODE_actor_use_colors;
else
return VAR(VAR_CURRENT_LIGHTS);
}
bool ScummEngine::isLightOn() const {
- return (getCurrentLights() & LIGHTMODE_screen);
+ return (getCurrentLights() & LIGHTMODE_room_lights_on);
}
void ScummEngine::setShake(int mode) {