diff options
author | Jonathan Gray | 2003-07-28 07:00:15 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-07-28 07:00:15 +0000 |
commit | 77cf6b7c3e66cca495e9ddbc92dad68a1874ee17 (patch) | |
tree | 9666199f71264dad443687a0326099c62800973a /sword2/sound.cpp | |
parent | 376f78f7f650604d580a3c681ab20b490667f289 (diff) | |
download | scummvm-rg350-77cf6b7c3e66cca495e9ddbc92dad68a1874ee17.tar.gz scummvm-rg350-77cf6b7c3e66cca495e9ddbc92dad68a1874ee17.tar.bz2 scummvm-rg350-77cf6b7c3e66cca495e9ddbc92dad68a1874ee17.zip |
add bs2demo target for broken sword 2 demo
svn-id: r9229
Diffstat (limited to 'sword2/sound.cpp')
-rw-r--r-- | sword2/sound.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sword2/sound.cpp b/sword2/sound.cpp index d320a3fb8a..0964f9d093 100644 --- a/sword2/sound.cpp +++ b/sword2/sound.cpp @@ -37,6 +37,7 @@ #include "protocol.h" // for FetchObjectName() for debugging FN_play_fx #include "resman.h" #include "sound.h" +#include "sword2.h" //-------------------------------------------------------------------------------------- typedef struct @@ -409,11 +410,10 @@ int32 FN_play_music(int32 *params) // updated by James on 10apr97 // add the appropriate file extension & play it - #ifdef _WEBDEMO // (James 01oct97) + if (g_bs2->_gameId == GID_BS2_DEMO) sprintf(filename,"MUSIC.CLU"); - #else + else sprintf(filename,"%sCLUSTERS\\MUSIC.CLU", res_man.GetCdPath()); - #endif // _WEBDEMO rv = StreamCompMusic(filename, params[0], loopFlag); |