aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-12-01 15:01:47 +0100
committerPaul Gilbert2014-12-12 22:55:08 -0500
commit0028556d6c1706f647f0df3fddd04adb87bd6630 (patch)
treed9b321bb1ddc23811dfcb1107bdc31968a38699a
parent11870c414460d8c9ea70651a979b1842e58569e5 (diff)
downloadscummvm-rg350-0028556d6c1706f647f0df3fddd04adb87bd6630.tar.gz
scummvm-rg350-0028556d6c1706f647f0df3fddd04adb87bd6630.tar.bz2
scummvm-rg350-0028556d6c1706f647f0df3fddd04adb87bd6630.zip
ACCESS: improve the sound during the title countdown
-rw-r--r--engines/access/amazon/amazon_logic.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp
index de497c2a35..5db3efbecb 100644
--- a/engines/access/amazon/amazon_logic.cpp
+++ b/engines/access/amazon/amazon_logic.cpp
@@ -316,8 +316,12 @@ void Opening::doTitle() {
_vm->_screen->copyFrom(_vm->_buffer2);
_vm->_events->_vbCount = 70;
- while (!_vm->shouldQuit() && _vm->_events->_vbCount > 0)
+ while (!_vm->shouldQuit() && _vm->_events->_vbCount > 0 && !_skipStart) {
+ _vm->_sound->playSound(1);
_vm->_events->pollEventsAndWait();
+ if (_vm->_events->_rightButton)
+ _skipStart = true;
+ }
}
if (_vm->shouldQuit())
return;