From 565f6296882da73640664a5167994dca1048e51f Mon Sep 17 00:00:00 2001 From: zicodxx Date: Thu, 29 Mar 2012 14:49:45 +0200 Subject: [PATCH] Fixed Redbook playback which was not repeating the CD after finishing --- CHANGELOG.txt | 1 + main/songs.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 0ed81b1ea..b527e2668 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -3,6 +3,7 @@ D2X-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 -------- diff --git a/main/songs.c b/main/songs.c index 77d8543ca..7788b806a 100644 --- a/main/songs.c +++ b/main/songs.c @@ -375,6 +375,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(); }