git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4053
d7cf8633-e32d-0410-b094-
e92efae38249
if (info.loopstart < 0)
s->loopstart = -1;
else
if (info.loopstart < 0)
s->loopstart = -1;
else
- s->loopstart = (double) s->loopstart * (double) shm->format.speed / (double) s->format.speed;
+ s->loopstart = (double)info.loopstart * (double)shm->format.speed / (double)s->format.speed;
#if BYTE_ORDER != LITTLE_ENDIAN
// We must convert the WAV data from little endian
#if BYTE_ORDER != LITTLE_ENDIAN
// We must convert the WAV data from little endian