diff options
author | Johannes Schickel | 2009-05-26 10:10:45 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-26 10:10:45 +0000 |
commit | 4d66b5531626cf72ade256766f4da48cbf74cdbf (patch) | |
tree | a7709b58721088902660ef1be8fb42df4c477768 | |
parent | 780899fb0e0be87bd87386fc5f6aeffb4bc30c42 (diff) | |
download | scummvm-rg350-4d66b5531626cf72ade256766f4da48cbf74cdbf.tar.gz scummvm-rg350-4d66b5531626cf72ade256766f4da48cbf74cdbf.tar.bz2 scummvm-rg350-4d66b5531626cf72ade256766f4da48cbf74cdbf.zip |
Fix g++ warning.
svn-id: r40905
-rw-r--r-- | engines/sci/engine/ksound.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp index b6ac628a6b..e649a8818a 100644 --- a/engines/sci/engine/ksound.cpp +++ b/engines/sci/engine/ksound.cpp @@ -1008,8 +1008,7 @@ reg_t kDoAudio(EngineState *s, int funct_nr, int argc, reg_t *argv) { case kSci1AudioPlay: { s->sound.audioResource->stop(); - Audio::AudioStream *audioStream = - audioStream = s->sound.audioResource->getAudioStream(UKPV(1), &sampleLen); + Audio::AudioStream *audioStream = s->sound.audioResource->getAudioStream(UKPV(1), &sampleLen); if (audioStream) mixer->playInputStream(Audio::Mixer::kSpeechSoundType, s->sound.audioResource->getAudioHandle(), audioStream); |