diff options
author | Paul Gilbert | 2016-10-29 21:25:10 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-10-29 21:25:10 -0400 |
commit | 2e2e0df346eb668aba5f7a3376a20c4619984fed (patch) | |
tree | 6a5508484e93599b755d3830ba63f46422549406 /engines/titanic/core | |
parent | 9caee8cbe3dd95022d0d5f520625848c4dfdd230 (diff) | |
download | scummvm-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.cpp | 2 |
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; |