diff options
author | Gregory Montoir | 2003-12-20 16:54:46 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-12-20 16:54:46 +0000 |
commit | 33ca6ecfa5d97db0e63092268eca4e94c0851fa3 (patch) | |
tree | 8204d6ccfbc599ef7e4f7a6a48f660372653669d /queen/talk.cpp | |
parent | 2c19e18fc85becb52fceab42c7bddf19a0913459 (diff) | |
download | scummvm-rg350-33ca6ecfa5d97db0e63092268eca4e94c0851fa3.tar.gz scummvm-rg350-33ca6ecfa5d97db0e63092268eca4e94c0851fa3.tar.bz2 scummvm-rg350-33ca6ecfa5d97db0e63092268eca4e94c0851fa3.zip |
some code to play the 'room background sfx' (equivalent to sfxplay(NULLstr))
svn-id: r11786
Diffstat (limited to 'queen/talk.cpp')
-rw-r--r-- | queen/talk.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index e7fdf023f6..e531c31e09 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -748,10 +748,7 @@ void Talk::stringAnimation(const SpeechParameters *parameters, int startFrame, i if (frame > 500) { frame -= 500; - // XXX #ifdef __DOS__ - // XXX if(SFXTOGGLE) - // XXX sfxplay(NULLstr); - // XXX #endif + _vm->sound()->playSfx(_vm->logic()->currentRoomSfx()); } if (torso) { @@ -905,7 +902,7 @@ void Talk::speakSegment( // debug(0, "Sentence segment '%*s' is said by person '%s' and voice file '%s' is played", // length, segment, person->name, voiceFileName); - _vm->sound()->sfxPlay(voiceFileName); + _vm->sound()->playSfx(voiceFileName); //debug(0, "Playing voice file '%s'", voiceFileName); int faceDirectionCommand = 0; |