aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/gfx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 111bd9a7b2..95b9eff0d4 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -2040,6 +2040,7 @@ void Scumm::actorFollowCamera(int act) {
#pragma mark -
void Scumm::fadeIn(int effect) {
+ updatePalette();
switch (effect) {
case 1:
case 2:
@@ -2073,6 +2074,8 @@ void Scumm::fadeIn(int effect) {
void Scumm::fadeOut(int effect) {
VirtScreen *vs;
+ updatePalette();
+
setDirtyRange(0, 0, 0);
if (!(_features & GF_AFTER_V7))
camera._last.x = camera._cur.x;
@@ -2170,7 +2173,6 @@ void Scumm::transitionEffect(int a) {
// Draw the current state to the screen and wait half a sec so the user
// can watch the effect taking place.
- updatePalette();
_system->update_screen();
waitForTimer(30);
}
@@ -2260,8 +2262,6 @@ void Scumm::dissolveEffect(int width, int height) {
// most of the time is spent in waitForTimer(). It looks good to me,
// but might still need some tuning.
- updatePalette();
-
blits = 0;
blits_before_refresh = (3 * w * h) / 25;