SWORD25: Make sure that id is always initialized in playSoundEx()

This commit is contained in:
Filippos Karapetis 2011-08-07 16:05:54 +03:00
parent 5974fcd0c1
commit e95bc9d7b0

View file

@ -209,7 +209,7 @@ uint SoundEngine::playSoundEx(const Common::String &fileName, SOUND_TYPES type,
#ifdef USE_VORBIS #ifdef USE_VORBIS
Audio::SeekableAudioStream *stream = Audio::makeVorbisStream(in, DisposeAfterUse::YES); Audio::SeekableAudioStream *stream = Audio::makeVorbisStream(in, DisposeAfterUse::YES);
#endif #endif
uint id; uint id = handleId;
SndHandle *handle; SndHandle *handle;
if (handleId == 0x1337) if (handleId == 0x1337)