From f7a22154b72d1997e64d24cdf3e30bf105f4525a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 21 Apr 2017 16:25:36 +0200 Subject: [PATCH] - fixed: loop_end needs a different default in the sound effect code than in the music code. --- src/sound/oalsound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/oalsound.cpp b/src/sound/oalsound.cpp index 4eb8d41e7..00f676f8e 100644 --- a/src/sound/oalsound.cpp +++ b/src/sound/oalsound.cpp @@ -1205,7 +1205,7 @@ std::pair OpenALSoundRenderer::LoadSound(uint8_t *sfxdata, int ChannelConfig chans; SampleType type; int srate; - uint32_t loop_start = 0, loop_end = ~0u; + uint32_t loop_start = 0, loop_end = 0; bool startass = false, endass = false; if (!memcmp(sfxdata, "OggS", 4) || !memcmp(sfxdata, "FLAC", 4))