diff options
author | Paul Gilbert | 2016-09-16 23:27:26 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-09-16 23:27:26 -0400 |
commit | 42894542330d79990b340fb5425b71ac7eaf140e (patch) | |
tree | 8fb57778ec6415eca971c128474a8503145590f1 /engines/xeen/dialogs_items.cpp | |
parent | 466bfa0fb30b837cc7057f40cd7bf54d238c4a70 (diff) | |
download | scummvm-rg350-42894542330d79990b340fb5425b71ac7eaf140e.tar.gz scummvm-rg350-42894542330d79990b340fb5425b71ac7eaf140e.tar.bz2 scummvm-rg350-42894542330d79990b340fb5425b71ac7eaf140e.zip |
XEEN: Cleanup of Sound driver
Diffstat (limited to 'engines/xeen/dialogs_items.cpp')
-rw-r--r-- | engines/xeen/dialogs_items.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/xeen/dialogs_items.cpp b/engines/xeen/dialogs_items.cpp index 59bf35dfb8..ed9f7f560d 100644 --- a/engines/xeen/dialogs_items.cpp +++ b/engines/xeen/dialogs_items.cpp @@ -907,9 +907,8 @@ int ItemsDialog::doItemOptions(Character &c, int actionIndex, int itemIndex, Ite desc.c_str(), cost))) { if (party.subtract(0, cost, 0, WT_FREEZE_WAIT)) { if (isDarkCc) { - sound.playSample(0, 0); - File f("choice2.voc"); - sound.playSample(&f, 0); + sound.stopSound(); + sound.playSound("choice2.voc"); } // Add entry to the end of the list |