Skip to content

Commit

Permalink
TITANIC: Return proper handle from CGameObject::playSound
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 30, 2016
1 parent 9caee8c commit 2e2e0df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/titanic/core/game_object.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 2e2e0df

Please sign in to comment.