TSAGE: Bugfix for sound assert in scene 20

This commit is contained in:
Paul Gilbert
2011-06-22 18:31:32 +10:00
parent 1fe9985912
commit 45e1d7aa0d
+1 -1
View File
@@ -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;