diff options
author | Max Horn | 2007-03-01 17:04:50 +0000 |
---|---|---|
committer | Max Horn | 2007-03-01 17:04:50 +0000 |
commit | 8466221fced5d1c7956d4d221661e19d6ccd5d99 (patch) | |
tree | bd5bf4460e6b56c91eaa0d52807c0ef706539138 /engines/kyra/sound.h | |
parent | 16015aaa3b490a50dd2115cbbf90c273dc7e4c32 (diff) | |
download | scummvm-rg350-8466221fced5d1c7956d4d221661e19d6ccd5d99.tar.gz scummvm-rg350-8466221fced5d1c7956d4d221661e19d6ccd5d99.tar.bz2 scummvm-rg350-8466221fced5d1c7956d4d221661e19d6ccd5d99.zip |
Simplify code a bit -- got rid of File::incRef usage, an unnecessary member var, fixed a potential memory leak (if all channels are in use), and fixed a potential OOB error (if stopSound(-1) was called)
svn-id: r25916
Diffstat (limited to 'engines/kyra/sound.h')
-rw-r--r-- | engines/kyra/sound.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/kyra/sound.h b/engines/kyra/sound.h index e286187fc7..a0975c6d66 100644 --- a/engines/kyra/sound.h +++ b/engines/kyra/sound.h @@ -310,7 +310,6 @@ private: Audio::Mixer *_mixer; struct Sound { - Common::File *fileHandle; Audio::SoundHandle handle; AUDStream *stream; } _sounds[SOUND_STREAMS]; |