diff options
-rwxr-xr-x | engines/pegasus/neighborhood/caldoria/caldoriabomb.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/caldoria/caldoriabomb.cpp b/engines/pegasus/neighborhood/caldoria/caldoriabomb.cpp index 43de5e73e6..9ec3124251 100755 --- a/engines/pegasus/neighborhood/caldoria/caldoriabomb.cpp +++ b/engines/pegasus/neighborhood/caldoria/caldoriabomb.cpp @@ -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) { |