aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/mixer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index 9222198c6f..dde49f6a00 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -295,8 +295,8 @@ SoundMixer::ChannelRaw::ChannelRaw(SoundMixer * mixer, void * sound, uint32 size
_size = _size >> 1;
if (flags & FLAG_LOOP) {
- _loop_ptr = sound;
- _loop_size = size;
+ _loop_ptr = _ptr;
+ _loop_size = _size;
}
}