svn-id: r17518
This commit is contained in:
Max Horn 2005-04-10 16:20:22 +00:00
parent e79c168d35
commit 8d2e73806a

View File

@ -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)