SWORD25: Make sure that id is always initialized in playSoundEx()
This commit is contained in:
parent
5974fcd0c1
commit
e95bc9d7b0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue