From 77cf6b7c3e66cca495e9ddbc92dad68a1874ee17 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 28 Jul 2003 07:00:15 +0000 Subject: add bs2demo target for broken sword 2 demo svn-id: r9229 --- sword2/sound.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sword2/sound.cpp') 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); -- cgit v1.2.3