aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core
diff options
context:
space:
mode:
authorPaul Gilbert2016-10-29 21:25:10 -0400
committerPaul Gilbert2016-10-29 21:25:10 -0400
commit2e2e0df346eb668aba5f7a3376a20c4619984fed (patch)
tree6a5508484e93599b755d3830ba63f46422549406 /engines/titanic/core
parent9caee8cbe3dd95022d0d5f520625848c4dfdd230 (diff)
downloadscummvm-rg350-2e2e0df346eb668aba5f7a3376a20c4619984fed.tar.gz
scummvm-rg350-2e2e0df346eb668aba5f7a3376a20c4619984fed.tar.bz2
scummvm-rg350-2e2e0df346eb668aba5f7a3376a20c4619984fed.zip
TITANIC: Return proper handle from CGameObject::playSound
Diffstat (limited to 'engines/titanic/core')
-rw-r--r--engines/titanic/core/game_object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp
index 92c7e948c8..76a6274160 100644
--- a/engines/titanic/core/game_object.cpp
+++ b/engines/titanic/core/game_object.cpp
@@ -758,7 +758,7 @@ int CGameObject::playSound(const CString &name, CProximity &prox) {
if (gameManager && !name.empty()) {
g_vm->_filesManager->preload(name);
- gameManager->_sound.playSound(name, prox);
+ return gameManager->_sound.playSound(name, prox);
}
return -1;