aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/ai-inventory.cpp')
-rw-r--r--engines/hdb/ai-inventory.cpp5
1 files changed, 4 insertions, 1 deletions
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;