aboutsummaryrefslogtreecommitdiff
path: root/sword2/sound.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-08-24 12:13:03 +0000
committerJonathan Gray2003-08-24 12:13:03 +0000
commita8ddcec684125cd2727f1ebed0f54e0325c37fa9 (patch)
tree99ca2d5fae64a5dec621b0177550a1eaefd087d9 /sword2/sound.cpp
parent070a746de4faf753e4ed1a79ce74788747f58685 (diff)
downloadscummvm-rg350-a8ddcec684125cd2727f1ebed0f54e0325c37fa9.tar.gz
scummvm-rg350-a8ddcec684125cd2727f1ebed0f54e0325c37fa9.tar.bz2
scummvm-rg350-a8ddcec684125cd2727f1ebed0f54e0325c37fa9.zip
be more tolerant of files being in different spots, and living on case sensitive filesystems
svn-id: r9846
Diffstat (limited to 'sword2/sound.cpp')
-rw-r--r--sword2/sound.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/sword2/sound.cpp b/sword2/sound.cpp
index 5c904df39c..e16c51b8ce 100644
--- a/sword2/sound.cpp
+++ b/sword2/sound.cpp
@@ -410,10 +410,7 @@ int32 FN_play_music(int32 *params) // updated by James on 10apr97
// add the appropriate file extension & play it
- if (g_sword2->_gameId == GID_SWORD2_DEMO)
- sprintf(filename,"MUSIC.CLU");
- else
- sprintf(filename,"%sCLUSTERS/MUSIC.CLU", res_man.GetCdPath());
+ sprintf(filename,"Music.clu");
rv = g_sword2->_sound->StreamCompMusic(filename, g_sword2->getGameDataPath(), params[0], loopFlag);