- Fixed: snd_musicvolume needs to check GSnd for NULL, since somebody might have set an
atexit for it, which gets executed after the sound system shuts down. - Fixed: FPlayList::Backup() failed to wrap around below entry 0 because Position is unsigned now. SVN r2188 (trunk)
This commit is contained in:
parent
61865b30be
commit
758327f4b3
2 changed files with 5 additions and 2 deletions
|
|
@ -198,7 +198,7 @@ int FPlayList::Advance ()
|
|||
|
||||
int FPlayList::Backup ()
|
||||
{
|
||||
if (--Position < 0)
|
||||
if (Position-- == 0)
|
||||
{
|
||||
Position = Songs.Size() - 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue