Make sure the right audio CD track is played when starting a level

This commit is contained in:
kreatordxx 2008-07-01 11:18:37 +00:00
parent 402fe0ec51
commit e539cdc14b
2 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,7 @@ D1X-Rebirth Changelog
--------
arch/carbon/conf.h, D1X.make, d1x-Info.plist, d1xgl-Info.plist, d1x-rebirth.xcodeproj, English.lproj/InfoPlist.strings: Increment version number for Mac, update MPW makefile, ensure Get Info strings copy to bundle, use correct Mac OS X SDKs
include/strutil.h, misc/strutil.c: Add snprintf for Mac OS 9
main/songs.c: Make sure the right audio CD track is played when starting a level
20080617
--------

View file

@ -315,6 +315,8 @@ void songs_play_level_song( int levelnum )
if (!RBAEnabled() && GameCfg.SndEnableRedbook) // need this to determine if we currently have the official CD
reinit_redbook();
n_tracks = RBAGetNumberOfTracks();
if (RBAEnabled() && GameCfg.SndEnableRedbook) {