diff options
author | uruk | 2014-02-05 10:46:51 +0100 |
---|---|---|
committer | uruk | 2014-02-05 10:51:33 +0100 |
commit | acb70b645ad5ea23d914d533712d05ff22c66754 (patch) | |
tree | 2ab22aec67cadf5639c049da90b937b7ac15ad38 /engines | |
parent | f26bbefb2de1ad4051026248c2b6a894793a6a6e (diff) | |
download | scummvm-rg350-acb70b645ad5ea23d914d533712d05ff22c66754.tar.gz scummvm-rg350-acb70b645ad5ea23d914d533712d05ff22c66754.tar.bz2 scummvm-rg350-acb70b645ad5ea23d914d533712d05ff22c66754.zip |
AVALANCHE: Implement GhostRoom::wait().
Diffstat (limited to 'engines')
-rw-r--r-- | engines/avalanche/ghostroom.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/avalanche/ghostroom.cpp b/engines/avalanche/ghostroom.cpp index 95b5476714..be2175c27e 100644 --- a/engines/avalanche/ghostroom.cpp +++ b/engines/avalanche/ghostroom.cpp @@ -68,7 +68,13 @@ GhostRoom::~GhostRoom() { } void GhostRoom::wait(uint16 howLong) { - warning("STUB: wait()"); + for (int i = 0; i < howLong; i++) { + Common::Event event; + _vm->getEvent(event); + if (event.type == Common::EVENT_KEYDOWN) + _vm->_sound->playNote(6177, 1); + _vm->_system->delayMillis(1); + } } void GhostRoom::doBat() { |