diff options
author | Max Horn | 2006-03-14 13:36:13 +0000 |
---|---|---|
committer | Max Horn | 2006-03-14 13:36:13 +0000 |
commit | ee087df293e0b5e15288fd5374790970df890089 (patch) | |
tree | d85ae41143d84cea245b09e68d4b27387b67833c /engines/scumm/scumm.cpp | |
parent | ab1694aef99c850b85f833413bd2c70cf732b664 (diff) | |
download | scummvm-rg350-ee087df293e0b5e15288fd5374790970df890089.tar.gz scummvm-rg350-ee087df293e0b5e15288fd5374790970df890089.tar.bz2 scummvm-rg350-ee087df293e0b5e15288fd5374790970df890089.zip |
Enhance the new getCurrentLights to work for V6+ games, too, making it possible to remove several special cases throughout the code
svn-id: r21286
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r-- | engines/scumm/scumm.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index 65a60d1686..1eda957bf1 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -2060,8 +2060,7 @@ load_game: setActorRedrawFlags(); resetActorBgs(); - if (_game.version <= 5 && - !(getCurrentLights() & LIGHTMODE_screen) && + if (!(getCurrentLights() & LIGHTMODE_screen) && getCurrentLights() & LIGHTMODE_flashlight) { drawFlashlight(); setActorRedrawFlags(); |