diff options
author | Filippos Karapetis | 2011-08-07 16:05:54 +0300 |
---|---|---|
committer | Filippos Karapetis | 2011-08-07 16:05:54 +0300 |
commit | e95bc9d7b0e9fdcdde98f9e7d0deb1595edeff97 (patch) | |
tree | 6c5dfb482e487ae69ccafd5a8d6ff988385f4f48 | |
parent | 5974fcd0c1cac3f57700a9efcd7899e8f89ef3e5 (diff) | |
download | scummvm-rg350-e95bc9d7b0e9fdcdde98f9e7d0deb1595edeff97.tar.gz scummvm-rg350-e95bc9d7b0e9fdcdde98f9e7d0deb1595edeff97.tar.bz2 scummvm-rg350-e95bc9d7b0e9fdcdde98f9e7d0deb1595edeff97.zip |
SWORD25: Make sure that id is always initialized in playSoundEx()
-rw-r--r-- | engines/sword25/sfx/soundengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/sfx/soundengine.cpp b/engines/sword25/sfx/soundengine.cpp index 1b424dac65..78b2db19eb 100644 --- a/engines/sword25/sfx/soundengine.cpp +++ b/engines/sword25/sfx/soundengine.cpp @@ -209,7 +209,7 @@ uint SoundEngine::playSoundEx(const Common::String &fileName, SOUND_TYPES type, #ifdef USE_VORBIS Audio::SeekableAudioStream *stream = Audio::makeVorbisStream(in, DisposeAfterUse::YES); #endif - uint id; + uint id = handleId; SndHandle *handle; if (handleId == 0x1337) |