Skip to content

Commit

Permalink
AVALANCHE: Repair fading at the beginning and at the end of the ghost…
Browse files Browse the repository at this point in the history
…room scene.
  • Loading branch information
uruk committed Feb 9, 2014
1 parent 3e8e913 commit b3e0c98
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions engines/avalanche/ghostroom.cpp
Expand Up @@ -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.
Expand Down Expand Up @@ -324,7 +324,6 @@ void GhostRoom::run() {
}

// Plot the Greldet:

if (_greldetCount == 18) {
_greldetX = _vm->_rnd->getRandomNumber(599);
_greldetY = _vm->_rnd->getRandomNumber(79);
Expand All @@ -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();
}

Expand Down

0 comments on commit b3e0c98

Please sign in to comment.