aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authoruruk2014-02-09 13:17:56 +0100
committeruruk2014-02-09 13:17:56 +0100
commitb3e0c98eb283800fc6e0534c6f52be4d44349958 (patch)
treef7ca010253f333052c1ce5de74cce9f2c51d6f18 /engines/avalanche
parent3e8e91300cc29e00f94af61b590fd20f1632cf42 (diff)
downloadscummvm-rg350-b3e0c98eb283800fc6e0534c6f52be4d44349958.tar.gz
scummvm-rg350-b3e0c98eb283800fc6e0534c6f52be4d44349958.tar.bz2
scummvm-rg350-b3e0c98eb283800fc6e0534c6f52be4d44349958.zip
AVALANCHE: Repair fading at the beginning and at the end of the ghostroom scene.
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/ghostroom.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/avalanche/ghostroom.cpp b/engines/avalanche/ghostroom.cpp
index 1047105658..321758482b 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();
}