fix Audio CD version oops

svn-id: r3886
This commit is contained in:
Nicolas Bacca 2002-04-07 01:58:59 +00:00
parent facec50a49
commit 6f2da5c673

View File

@ -678,8 +678,12 @@ static int cd_track, cd_num_loops = 0, cd_start_frame, cd_end_frame;
static Uint32 cd_end_time, cd_stop_time, cd_next_second;
void cd_play(Scumm *s, int track, int num_loops, int start_frame, int end_frame) {
scumm->_vars[14] = 0;
if (!start_frame && !end_frame)
return;
#ifdef COMPRESSED_SOUND_FILE
if (mp3_cd_play(s, track, num_loops, start_frame, end_frame))