aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-inventory.cpp
diff options
context:
space:
mode:
authorNipun Garg2019-07-30 03:50:28 +0530
committerEugene Sandulenko2019-09-03 17:17:30 +0200
commitb8bbc32a89e53f6eb271d848cdb4935494c0f43f (patch)
tree2ee92e4dd65ef50716b8ebe63eca4cab93571b0a /engines/hdb/ai-inventory.cpp
parent3acb70c759586faef9a5f9f5131c6da6e17e5f89 (diff)
downloadscummvm-rg350-b8bbc32a89e53f6eb271d848cdb4935494c0f43f.tar.gz
scummvm-rg350-b8bbc32a89e53f6eb271d848cdb4935494c0f43f.tar.bz2
scummvm-rg350-b8bbc32a89e53f6eb271d848cdb4935494c0f43f.zip
HDB: Add support for the PPC version
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;