diff options
author | Paul Gilbert | 2011-07-27 22:07:48 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-07-28 07:30:41 +1000 |
commit | 034bbde2046ec2db0fdd746e032ca7f19f00f4fe (patch) | |
tree | 628fcf9c007ce5677d9a9703ac28be981213582e /engines | |
parent | f44874f0a67dab9a45018a16d6fc7bea3def54de (diff) | |
download | scummvm-rg350-034bbde2046ec2db0fdd746e032ca7f19f00f4fe.tar.gz scummvm-rg350-034bbde2046ec2db0fdd746e032ca7f19f00f4fe.tar.bz2 scummvm-rg350-034bbde2046ec2db0fdd746e032ca7f19f00f4fe.zip |
TSAGE: Fix problem with sound Fx start method being called multiple times
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/sound.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp index 3f02d635ab..87c31c3433 100644 --- a/engines/tsage/sound.cpp +++ b/engines/tsage/sound.cpp @@ -2301,6 +2301,7 @@ void Sound::_soServiceTrackType1(int trackIndex, const byte *channelData) { driver->proc32(channelData, 14, -1, vtStruct->_entries[entryIndex]._voiceNum, *(channelData + 1), 0x7f); driver->proc42(vtStruct->_entries[entryIndex]._voiceNum, *(channelData + 1), _loop ? 1 : 0, &v1, &v2); + _trkState[trackIndex] = 2; } } else { for (uint entryIndex = 0; entryIndex < vtStruct->_entries.size(); ++entryIndex) { |