diff options
author | Paul Gilbert | 2011-06-21 22:54:25 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-06-22 18:31:32 +1000 |
commit | 45e1d7aa0dc144792bf5b922d79337dec621ef81 (patch) | |
tree | dd81b4f6ae11c4de6e83827138a81344d3d1d298 | |
parent | 1fe9985912c3bb819d1145b03389a615f9b11401 (diff) | |
download | scummvm-rg350-45e1d7aa0dc144792bf5b922d79337dec621ef81.tar.gz scummvm-rg350-45e1d7aa0dc144792bf5b922d79337dec621ef81.tar.bz2 scummvm-rg350-45e1d7aa0dc144792bf5b922d79337dec621ef81.zip |
TSAGE: Bugfix for sound assert in scene 20
-rw-r--r-- | engines/tsage/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp index 2ecd88941d..980e080e73 100644 --- a/engines/tsage/sound.cpp +++ b/engines/tsage/sound.cpp @@ -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; |