Fixed Redbook playback which was not repeating the CD after finishing

This commit is contained in:
zicodxx 2012-03-29 14:49:44 +02:00
parent 1a76d33345
commit 0dae4f8206
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@ D1X-Rebirth Changelog
20120329
--------
main/multi.c, main/multi.h, main/net_udp.c, main/net_udp.h: Immediately relay pdata packets from clients to others which should reduce artificial delay; allow sending of pdata packet when firing if enough time has passed since last update; only answer full game info requests 2 times per second and lite info 8 times per second
main/songs.c: Fixed Redbook playback which was not repeating the CD after finishing
20120328
--------

View file

@ -367,6 +367,7 @@ int songs_play_song( int songnum, int repeat )
void redbook_first_song_func()
{
stop_time();
Song_playing = -1; // Playing Redbook tracks will not modify Song_playing. To repeat we must reset this so songs_play_level_song does not think we want to re-play the same song again.
songs_play_level_song(1, 0);
start_time();
}