aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus')
-rw-r--r--engines/pegasus/neighborhood/neighborhood.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/neighborhood.cpp b/engines/pegasus/neighborhood/neighborhood.cpp
index 7c77381322..4ff762f73d 100644
--- a/engines/pegasus/neighborhood/neighborhood.cpp
+++ b/engines/pegasus/neighborhood/neighborhood.cpp
@@ -76,6 +76,14 @@ Neighborhood::~Neighborhood() {
}
void Neighborhood::init() {
+ _neighborhoodNotification.notifyMe(this, kNeighborhoodFlags, kNeighborhoodFlags);
+ _navMovieCallBack.setNotification(&_neighborhoodNotification);
+ _turnPushCallBack.setNotification(&_neighborhoodNotification);
+ _delayCallBack.setNotification(&_neighborhoodNotification);
+
+ // TODO
+ //_spotSoundCallBack.setNotification(&_neighborhoodNotification);
+
debug(0, "Loading '%s' neighborhood resources", _resName.c_str());
Common::SeekableReadStream *stream = _vm->_resFork->getResource(_doorTable.getResTag(), _resName);