aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Kagerer2009-12-24 18:41:26 +0000
committerFlorian Kagerer2009-12-24 18:41:26 +0000
commit7bf92fc7957469cd35f438cd9b602ac2e7d26393 (patch)
tree3ac5e77b52caee5a13c4d0f76cab45a45962831b
parent996da19fc98eba75c96cd0fa82ef440b0c45e4dc (diff)
downloadscummvm-rg350-7bf92fc7957469cd35f438cd9b602ac2e7d26393.tar.gz
scummvm-rg350-7bf92fc7957469cd35f438cd9b602ac2e7d26393.tar.bz2
scummvm-rg350-7bf92fc7957469cd35f438cd9b602ac2e7d26393.zip
LOL: fixed minor bug in lamp code
svn-id: r46534
-rw-r--r--engines/kyra/scene_lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/scene_lol.cpp b/engines/kyra/scene_lol.cpp
index e5aebc9188..537fc0422b 100644
--- a/engines/kyra/scene_lol.cpp
+++ b/engines/kyra/scene_lol.cpp
@@ -632,7 +632,7 @@ void LoLEngine::updateLampStatus() {
}
} else {
if (_screen->_fadeFlag == 0)
- setPaletteBrightness(_screen->getPalette(0), _lampEffect, newLampEffect);
+ setPaletteBrightness(_screen->getPalette(0), _brightness, newLampEffect);
}
}
}