[Scummvm-cvs-logs] scummvm master -> e95bc9d7b0e9fdcdde98f9e7d0deb1595edeff97
bluegr
md5 at scummvm.org
Sun Aug 7 15:09:05 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e95bc9d7b0 SWORD25: Make sure that id is always initialized in playSoundEx()
Commit: e95bc9d7b0e9fdcdde98f9e7d0deb1595edeff97
https://github.com/scummvm/scummvm/commit/e95bc9d7b0e9fdcdde98f9e7d0deb1595edeff97
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2011-08-07T06:05:54-07:00
Commit Message:
SWORD25: Make sure that id is always initialized in playSoundEx()
Changed paths:
engines/sword25/sfx/soundengine.cpp
diff --git a/engines/sword25/sfx/soundengine.cpp b/engines/sword25/sfx/soundengine.cpp
index 1b424da..78b2db1 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)
More information about the Scummvm-git-logs
mailing list