From 2e2e0df346eb668aba5f7a3376a20c4619984fed Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 29 Oct 2016 21:25:10 -0400 Subject: TITANIC: Return proper handle from CGameObject::playSound --- engines/titanic/core/game_object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3