(svn r3641) - Rename MusicFilesettings 'btn_down' to more sensible 'playing'

This commit is contained in:
Darkvater
2006-02-20 23:40:53 +00:00
parent c7e34bd103
commit 4aaae55c08
3 changed files with 6 additions and 6 deletions

View File

@@ -182,9 +182,9 @@ void ResetMusic(void)
void MusicLoop(void)
{
if (!msf.btn_down && _song_is_active) {
if (!msf.playing && _song_is_active) {
StopMusic();
} else if (msf.btn_down && !_song_is_active) {
} else if (msf.playing && !_song_is_active) {
PlayPlaylistSong();
}
@@ -405,10 +405,10 @@ static void MusicWindowWndProc(Window *w, WindowEvent *e)
SkipToNextSong();
break;
case 4: // stop playing
msf.btn_down = false;
msf.playing = false;
break;
case 5: // start playing
msf.btn_down = true;
msf.playing = true;
break;
case 6:{ // volume sliders
byte *vol,new_vol;