diff options
author | Max Horn | 2005-04-10 16:20:22 +0000 |
---|---|---|
committer | Max Horn | 2005-04-10 16:20:22 +0000 |
commit | 8d2e73806ac032c82590dc434a21543320296af2 (patch) | |
tree | 53885d23ccc72160745a7d77e52c41794c490d1b | |
parent | e79c168d35d9c3633e3dfb618bd05466b0efc307 (diff) | |
download | scummvm-rg350-8d2e73806ac032c82590dc434a21543320296af2.tar.gz scummvm-rg350-8d2e73806ac032c82590dc434a21543320296af2.tar.bz2 scummvm-rg350-8d2e73806ac032c82590dc434a21543320296af2.zip |
Fix for bug #1180240
svn-id: r17518
-rw-r--r-- | scumm/costume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp index 5229fb6465..76399339e7 100644 --- a/scumm/costume.cpp +++ b/scumm/costume.cpp @@ -877,7 +877,7 @@ void ClassicCostumeRenderer::setPalette(byte *palette) { } _palette[_loaded._palette[0]] = _palette[0]; } else { - if ((_vm->VAR_CURRENT_LIGHTS != 0xFF) && (_vm->VAR(_vm->VAR_CURRENT_LIGHTS) & LIGHTMODE_actor_color)) { + if ((_vm->VAR_CURRENT_LIGHTS == 0xFF) || (_vm->VAR(_vm->VAR_CURRENT_LIGHTS) & LIGHTMODE_actor_color)) { for (i = 0; i < _loaded._numColors; i++) { color = palette[i]; if (color == 255) |