mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
TSAGE: Bugfix for sound assert in scene 20
This commit is contained in:
@@ -1808,7 +1808,7 @@ void Sound::_soServiceTrackType0(int trackIndex, const byte *channelData) {
|
||||
return;
|
||||
|
||||
int channelNum = _trkChannel[trackIndex];
|
||||
assert((channelNum >= 0) && (channelNum < SOUND_ARR_SIZE));
|
||||
assert((channelNum >= -1) && (channelNum < SOUND_ARR_SIZE));
|
||||
int chFlags = (channelNum == -1) ? 0 : _chFlags[channelNum];
|
||||
int voiceNum = -1;
|
||||
SoundDriver *driver = NULL;
|
||||
|
||||
Reference in New Issue
Block a user