mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
remove a bogus "done" and use 1 instead of 2 (holdover from a previous itteration of the code)
This commit is contained in:
parent
7252ef1e54
commit
f0a4c4ace5
1 changed files with 1 additions and 2 deletions
|
@ -111,10 +111,9 @@ SND_PaintChannels (unsigned int endtime)
|
||||||
if (ch->sfx->loopstart != (unsigned int) -1) {
|
if (ch->sfx->loopstart != (unsigned int) -1) {
|
||||||
ch->pos = ch->sfx->loopstart;
|
ch->pos = ch->sfx->loopstart;
|
||||||
ch->end = ltime + ch->sfx->length - ch->pos;
|
ch->end = ltime + ch->sfx->length - ch->pos;
|
||||||
ch->done = 2;
|
|
||||||
break;
|
break;
|
||||||
} else { // channel just stopped
|
} else { // channel just stopped
|
||||||
ch->done = 2;
|
ch->done = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue