diff options
| author | Max Horn | 2010-02-13 17:42:49 +0000 | 
|---|---|---|
| committer | Max Horn | 2010-02-13 17:42:49 +0000 | 
| commit | ac4d325e0d61b649026a5f5414f749697b285ccc (patch) | |
| tree | c58f62596d050be62e98180c0255e7998a9a62e4 /engines/sci/sound/iterator/iterator.cpp | |
| parent | 24fd77eb242c4d90e8c3a3b0bcc5f0c48a4dc77f (diff) | |
| download | scummvm-rg350-ac4d325e0d61b649026a5f5414f749697b285ccc.tar.gz scummvm-rg350-ac4d325e0d61b649026a5f5414f749697b285ccc.tar.bz2 scummvm-rg350-ac4d325e0d61b649026a5f5414f749697b285ccc.zip | |
SCI: Add global g_sci pointer to the active SciEngine instance
svn-id: r48046
Diffstat (limited to 'engines/sci/sound/iterator/iterator.cpp')
| -rw-r--r-- | engines/sci/sound/iterator/iterator.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/engines/sci/sound/iterator/iterator.cpp b/engines/sci/sound/iterator/iterator.cpp index d800b80a36..5d9d63e5af 100644 --- a/engines/sci/sound/iterator/iterator.cpp +++ b/engines/sci/sound/iterator/iterator.cpp @@ -144,7 +144,7 @@ void SongIteratorChannel::resetSynthChannels() {  	byte buf[5];  	// FIXME: Evil hack -	SfxState &sound = ((SciEngine*)g_engine)->getEngineState()->_sound; +	SfxState &sound = g_sci->getEngineState()->_sound;  	for (int i = 0; i < MIDI_CHANNELS; i++) {  		if (playmask & (1 << i)) { | 
