diff options
author | Filippos Karapetis | 2010-01-29 17:47:17 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-29 17:47:17 +0000 |
commit | ddda7d12bde4ed88916fc077e049cf43394afa31 (patch) | |
tree | d92642e6ccf064b2216f51c37b0f1353a8cff414 /engines | |
parent | be293572d2ba066574ce16449e783c60c386943b (diff) | |
download | scummvm-rg350-ddda7d12bde4ed88916fc077e049cf43394afa31.tar.gz scummvm-rg350-ddda7d12bde4ed88916fc077e049cf43394afa31.tar.bz2 scummvm-rg350-ddda7d12bde4ed88916fc077e049cf43394afa31.zip |
Wording
svn-id: r47676
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/sound/soundcmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp index 96d839c672..5ddd4f329d 100644 --- a/engines/sci/sound/soundcmd.cpp +++ b/engines/sci/sound/soundcmd.cpp @@ -512,7 +512,7 @@ void SoundCommandParser::cmdStopSound(reg_t obj, int16 value) { } // Don't modify the objects of sound slots that are already stopped, - // as the associated objects could have been disposed + // as the associated objects could be disposed by the game scripts if (musicSlot->status != kSoundStopped) { PUT_SEL32V(_segMan, obj, handle, 0); if (_soundVersion <= SCI_VERSION_0_LATE) @@ -908,7 +908,7 @@ void SoundCommandParser::cmdStopAllSounds(reg_t obj, int16 value) { const MusicList::iterator end = _music->getPlayListEnd(); for (MusicList::iterator i = _music->getPlayListStart(); i != end; ++i) { // Don't modify the objects of sound slots that are already stopped, - // as the associated objects could have been disposed + // as the associated objects could be disposed by the game scripts if ((*i)->status != kSoundStopped) { if (_soundVersion <= SCI_VERSION_0_LATE) PUT_SEL32V(_segMan, (*i)->soundObj, state, kSoundStopped); |