From b3e0c98eb283800fc6e0534c6f52be4d44349958 Mon Sep 17 00:00:00 2001 From: uruk Date: Sun, 9 Feb 2014 13:17:56 +0100 Subject: [PATCH] AVALANCHE: Repair fading at the beginning and at the end of the ghostroom scene. --- engines/avalanche/ghostroom.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/engines/avalanche/ghostroom.cpp b/engines/avalanche/ghostroom.cpp index 1047105658d..321758482bb 100644 --- a/engines/avalanche/ghostroom.cpp +++ b/engines/avalanche/ghostroom.cpp @@ -198,8 +198,8 @@ void GhostRoom::run() { CursorMan.showMouse(false); _vm->_graphics->saveScreen(); _vm->fadeOut(); - _vm->fadeIn(); _vm->_graphics->drawFilledRectangle(Common::Rect(0, 0, 640, 200), kColorBlack); // Black out the whole screen. + _vm->fadeIn(); // Only load the pictures if it's our first time walking into the room. // After that we simply use the already loaded images. @@ -324,7 +324,6 @@ void GhostRoom::run() { } // Plot the Greldet: - if (_greldetCount == 18) { _greldetX = _vm->_rnd->getRandomNumber(599); _greldetY = _vm->_rnd->getRandomNumber(79); @@ -341,9 +340,11 @@ void GhostRoom::run() { } CursorMan.showMouse(true); + + _vm->fadeOut(); _vm->_graphics->restoreScreen(); _vm->_graphics->removeBackup(); - _vm->fadeOut(); + _vm->_animation->animLink(); _vm->fadeIn(); }