diff options
author | Cameron Cawley | 2019-08-01 23:30:10 +0100 |
---|---|---|
committer | David Turner | 2019-08-02 00:08:58 +0100 |
commit | 837ac7e7ecabcc0b90885759b5c4278ec800bf82 (patch) | |
tree | b20f5ec71fb2affc06326aaca5f00d8334453e08 /engines/teenagent/inventory.cpp | |
parent | cd8816428e11097131c3552e4eb635c11ce74b50 (diff) | |
download | scummvm-rg350-837ac7e7ecabcc0b90885759b5c4278ec800bf82.tar.gz scummvm-rg350-837ac7e7ecabcc0b90885759b5c4278ec800bf82.tar.bz2 scummvm-rg350-837ac7e7ecabcc0b90885759b5c4278ec800bf82.zip |
TEENAGENT: Add debug commands to play voices and sound effects
Diffstat (limited to 'engines/teenagent/inventory.cpp')
-rw-r--r-- | engines/teenagent/inventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/inventory.cpp b/engines/teenagent/inventory.cpp index e8544446dc..f77f6ed382 100644 --- a/engines/teenagent/inventory.cpp +++ b/engines/teenagent/inventory.cpp @@ -222,7 +222,7 @@ bool Inventory::processEvent(const Common::Event &event) { remove(id2); debugC(0, kDebugInventory, "adding object %u", newObj); add(newObj); - _vm->playSoundNow(69); + _vm->playSoundNow(&_vm->res->sam_sam, 69); } uint16 msg = READ_LE_UINT16(table + 3); _vm->displayMessage(msg); |