From b8bbc32a89e53f6eb271d848cdb4935494c0f43f Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Tue, 30 Jul 2019 03:50:28 +0530 Subject: HDB: Add support for the PPC version --- engines/hdb/ai-inventory.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/hdb/ai-inventory.cpp') diff --git a/engines/hdb/ai-inventory.cpp b/engines/hdb/ai-inventory.cpp index dbb7f3dab3..9eb91ebd7c 100644 --- a/engines/hdb/ai-inventory.cpp +++ b/engines/hdb/ai-inventory.cpp @@ -305,7 +305,10 @@ bool AI::completeDelivery(const char *id) { for (; i < _numDeliveries; i++) memcpy(&_deliveries[i], &_deliveries[i + 1], sizeof(_deliveries[0])); _numDeliveries--; - g_hdb->_sound->playVoice(GUY_COMPLETED, 1); + if (g_hdb->isPPC()) + g_hdb->_sound->playSound(SND_QUEST_COMPLETE); + else + g_hdb->_sound->playVoice(GUY_COMPLETED, 1); return true; } return false; -- cgit v1.2.3