From 8466221fced5d1c7956d4d221661e19d6ccd5d99 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 1 Mar 2007 17:04:50 +0000 Subject: 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 --- engines/kyra/sound.h | 1 - 1 file changed, 1 deletion(-) (limited to 'engines/kyra/sound.h') 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]; -- cgit v1.2.3