mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 23:51:09 -04:00
Fix a sign error
This commit is contained in:
parent
91ed5183c8
commit
be6f1fe4fe
@ -226,10 +226,7 @@ namespace MWSound
|
|||||||
// Don't play the same music track twice in a row
|
// Don't play the same music track twice in a row
|
||||||
if (filelist[i] == mLastPlayedMusic)
|
if (filelist[i] == mLastPlayedMusic)
|
||||||
{
|
{
|
||||||
if (i-1 == int(filelist.size()))
|
i = (i+1) % filelist.size();
|
||||||
i = 0;
|
|
||||||
else
|
|
||||||
++i;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
streamMusicFull(filelist[i]);
|
streamMusicFull(filelist[i]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user