diff options
| author | robojumper <robojumper@gmail.com> | 2025-06-01 21:10:48 +0200 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2025-06-01 21:10:48 +0200 |
| commit | 1fa755181b31a8065359b0cdfa1930f23770ff9c (patch) | |
| tree | 3c5380d7ebe7e7575614a19aa2ae6f8b0feba796 /src/nw4r | |
| parent | fa1d4c3f5765568bfc9798bc1c909166792aad13 (diff) | |
d_snd_sound OK
Diffstat (limited to 'src/nw4r')
| -rw-r--r-- | src/nw4r/snd/snd_AnimSound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nw4r/snd/snd_AnimSound.cpp b/src/nw4r/snd/snd_AnimSound.cpp index 0ba0b144..91f80368 100644 --- a/src/nw4r/snd/snd_AnimSound.cpp +++ b/src/nw4r/snd/snd_AnimSound.cpp @@ -48,7 +48,7 @@ void AnimSoundImpl::Shutdown() { if (mIsActive) { for (int i = 0; i < mNumSounds; i++) { if (mpSounds[i].GetHandle()->IsAttachedSound() && mpSounds[i].IsRunning()) { - mpSounds[i].GetHandle()->Stop(); + mpSounds[i].GetHandle()->Stop(0); } } @@ -437,7 +437,7 @@ AnimEventPlayer::AnimEventPlayer() : mpEvent(NULL), mIsRunning(false) {} AnimEventPlayer::~AnimEventPlayer() { if (mHandle.IsAttachedSound() && IsRunning()) { - mHandle.Stop(); + mHandle.Stop(0); } } |
