mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 02:45:32 +00:00
Fix a sign error
This commit is contained in:
parent
91ed5183c8
commit
be6f1fe4fe
1 changed files with 1 additions and 4 deletions
|
@ -226,10 +226,7 @@ namespace MWSound
|
|||
// Don't play the same music track twice in a row
|
||||
if (filelist[i] == mLastPlayedMusic)
|
||||
{
|
||||
if (i-1 == int(filelist.size()))
|
||||
i = 0;
|
||||
else
|
||||
++i;
|
||||
i = (i+1) % filelist.size();
|
||||
}
|
||||
|
||||
streamMusicFull(filelist[i]);
|
||||
|
|
Loading…
Reference in a new issue