- fixed: loop_end needs a different default in the sound effect code than in the music code.

This commit is contained in:
Christoph Oelckers 2017-04-21 16:25:36 +02:00
parent b3f3500ce5
commit f7a22154b7

View file

@ -1205,7 +1205,7 @@ std::pair<SoundHandle,bool> 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))