. fixed an uninitialized variable in sound code.

SVN r1229 (trunk)
This commit is contained in:
Christoph Oelckers 2008-09-15 23:40:13 +00:00
parent d1f8518a79
commit 0e98244df2
1 changed files with 2 additions and 2 deletions

View File

@ -1847,9 +1847,9 @@ void S_ChannelEnded(FISoundChannel *ichan)
{
evicted = !!(schan->ChanFlags & CHAN_JUSTSTARTED);
}
else if (pos < len)
else
{
evicted = true;
evicted = (pos < len);
}
}
if (!evicted)