Skip to content

Commit

Permalink
PEGASUS: Fix going from bomb game to the end game
Browse files Browse the repository at this point in the history
The game is now completable from after completing from a save that has Norad complete.
  • Loading branch information
Matthew Hoops committed Dec 14, 2011
1 parent d55aeee commit a328f32
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions engines/pegasus/neighborhood/caldoria/caldoriabomb.cpp
Expand Up @@ -1209,6 +1209,15 @@ void CaldoriaBomb::closeInteraction() {
_timer.stopDisplaying();
_grid.hide();
_grid.stopDisplaying();

// The original did not do this, but we need it here
// Not sure why the original worked without this; probably
// related to the way the List code worked in CodeWarrior.
// If this is not here, the notifications will later attempt
// to remove itself from this receiver causing a very nasty
// crash.
_timerNotification.cancelNotification(this);
_neighborhoodNotification->cancelNotification(this);
}

void CaldoriaBomb::startBombAmbient(Common::String ambient) {
Expand Down

0 comments on commit a328f32

Please sign in to comment.