aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_external.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-09-07 19:00:55 +0000
committerMatthew Hoops2010-09-07 19:00:55 +0000
commit87a6b631bf77a82c967d5ae68d888535c556a9cf (patch)
treebc450313de550f5156d6c2da66fc60db86828ec7 /engines/mohawk/riven_external.cpp
parent8448c50c712604d172e66ae2a1c42ca7d8bd3389 (diff)
downloadscummvm-rg350-87a6b631bf77a82c967d5ae68d888535c556a9cf.tar.gz
scummvm-rg350-87a6b631bf77a82c967d5ae68d888535c556a9cf.tar.bz2
scummvm-rg350-87a6b631bf77a82c967d5ae68d888535c556a9cf.zip
MOHAWK: Add stopping sounds to the telescope functions
svn-id: r52628
Diffstat (limited to 'engines/mohawk/riven_external.cpp')
-rw-r--r--engines/mohawk/riven_external.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/mohawk/riven_external.cpp b/engines/mohawk/riven_external.cpp
index 1871bd4d14..302901a86c 100644
--- a/engines/mohawk/riven_external.cpp
+++ b/engines/mohawk/riven_external.cpp
@@ -1852,7 +1852,8 @@ void RivenExternal::xtexterior300_telescopedown(uint16 argc, uint16 *argv) {
}
} else {
// ...the telescope can't move down anymore.
- // TODO: Play sound
+ // Play the sound of not being able to move
+ _vm->_sound->playSound(13, false);
}
} else {
// We're not at the bottom, and we can move down again
@@ -1877,7 +1878,8 @@ void RivenExternal::xtexterior300_telescopeup(uint16 argc, uint16 *argv) {
// Check if we can't move up anymore
if (*telescopePos == 5) {
- // TODO: Play sound
+ // Play the sound of not being able to move
+ _vm->_sound->playSound(13, false);
return;
}