remove a bogus "done" and use 1 instead of 2 (holdover from a previous itteration of the code)

This commit is contained in:
Bill Currie 2007-03-21 11:41:34 +00:00 committed by Jeff Teunissen
parent 7252ef1e54
commit f0a4c4ace5

View file

@ -111,10 +111,9 @@ SND_PaintChannels (unsigned int endtime)
if (ch->sfx->loopstart != (unsigned int) -1) {
ch->pos = ch->sfx->loopstart;
ch->end = ltime + ch->sfx->length - ch->pos;
ch->done = 2;
break;
} else { // channel just stopped
ch->done = 2;
ch->done = 1;
break;
}
}