diff options
author | Matthew Hoops | 2011-10-01 13:09:14 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-10-01 13:09:14 -0400 |
commit | f3e34cde02072adcdf0cde66871d23e88897a61d (patch) | |
tree | a75dc38102c49b523e7b6dffdb2106893b40fe32 /engines/pegasus | |
parent | ebb40e26cb3c26a49afb4b8603b5eaf38928dbee (diff) | |
download | scummvm-rg350-f3e34cde02072adcdf0cde66871d23e88897a61d.tar.gz scummvm-rg350-f3e34cde02072adcdf0cde66871d23e88897a61d.tar.bz2 scummvm-rg350-f3e34cde02072adcdf0cde66871d23e88897a61d.zip |
PEGASUS: Fix neighborhood callbacks
Diffstat (limited to 'engines/pegasus')
-rw-r--r-- | engines/pegasus/neighborhood/neighborhood.cpp | 8 |
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); |