mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-30 03:50:40 +00:00
. fixed an uninitialized variable in sound code.
SVN r1229 (trunk)
This commit is contained in:
parent
d1f8518a79
commit
0e98244df2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue