From bab35a399156cba3d125c96e39ac96161289caf4 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 18 Jan 2010 22:39:56 +0000 Subject: SCI: dont set dataInc selector inside updateCues when dataInc is not available svn-id: r47362 --- engines/sci/sound/soundcmd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/sci/sound/soundcmd.h') diff --git a/engines/sci/sound/soundcmd.h b/engines/sci/sound/soundcmd.h index 7c1995e8d4..590aba6388 100644 --- a/engines/sci/sound/soundcmd.h +++ b/engines/sci/sound/soundcmd.h @@ -46,7 +46,7 @@ struct MusicEntryCommand { class SoundCommandParser { public: - SoundCommandParser(ResourceManager *resMan, SegManager *segMan, AudioPlayer *audio, SciVersion soundVersion); + SoundCommandParser(ResourceManager *resMan, SegManager *segMan, Kernel *kernel, AudioPlayer *audio, SciVersion soundVersion); ~SoundCommandParser(); enum { @@ -81,6 +81,7 @@ private: SoundCommandContainer _soundCommands; ResourceManager *_resMan; SegManager *_segMan; + Kernel *_kernel; #ifdef USE_OLD_MUSIC_FUNCTIONS SfxState *_state; int _midiCmd, _controller, _param; -- cgit v1.2.3