aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorPaul Gilbert2014-01-16 22:11:41 -0500
committerPaul Gilbert2014-01-16 22:11:41 -0500
commitc1657dc2789cf5fd680248850ca9f51c85698498 (patch)
treed57ccac376486825bc4ad4f803defed10586e2aa /engines/voyeur
parentb0e397551c2e6dc9b3e7f5ce726b00ac6a460398 (diff)
downloadscummvm-rg350-c1657dc2789cf5fd680248850ca9f51c85698498.tar.gz
scummvm-rg350-c1657dc2789cf5fd680248850ca9f51c85698498.tar.bz2
scummvm-rg350-c1657dc2789cf5fd680248850ca9f51c85698498.zip
VOYEUR: Fix selection of apartment music after initial phone call ends
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/files_threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index cee4e46c81..8fa2ec7724 100644
--- a/engines/voyeur/files_threads.cpp
+++ b/engines/voyeur/files_threads.cpp
@@ -1072,7 +1072,7 @@ int ThreadResource::doApt() {
_vm->_eventsManager.getMouseInfo();
if (!_vm->_soundManager.getVOCStatus()) {
// Previous sound ended, so start up a new one
- _vm->_currentVocId = _vm->getRandomNumber(4) + 151;
+ _vm->_currentVocId = 151 - _vm->getRandomNumber(4);
_vm->_soundManager.startVOCPlay(_vm->_soundManager.getVOCFileName(_vm->_currentVocId));
}