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/scene.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/scene.cpp')
-rw-r--r-- | engines/teenagent/scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index bea8953f21..5a8589a7cd 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -891,7 +891,7 @@ bool Scene::render(bool tickGame, bool tickMark, uint32 messageDelta) { Sound &sound = *i; if (sound.delay == 0) { debugC(1, kDebugScene, "sound %u started", sound.id); - _vm->playSoundNow(sound.id); + _vm->playSoundNow(&_vm->res->sam_sam, sound.id); i = sounds.erase(i); } else { sound.delay -= gameDelta; |