J :
* Some cleaning about the resource path.
This commit is contained in:
@@ -98,7 +98,11 @@ void JSoundSystem::DestroySoundSystem()
|
||||
|
||||
JMusic *JSoundSystem::LoadMusic(const char *fileName)
|
||||
{
|
||||
#ifdef RESPATH
|
||||
string s = RESPATH"/";
|
||||
#else
|
||||
string s = "Res/";
|
||||
#endif
|
||||
s.append(fileName);
|
||||
JMusic *music = new JMusic();
|
||||
if (music)
|
||||
|
||||
Reference in New Issue
Block a user