Fix case-sensitivity issue

This commit is contained in:
Glenn Maynard
2003-09-15 20:31:12 +00:00
parent db4c2f3cb3
commit d36dddd273
+1 -1
View File
@@ -28,7 +28,7 @@ void RageSounds::PlayMusic(CString file, bool force_loop, float start_sec, float
// LOG->Trace("play '%s' (current '%s')", file.c_str(), music->GetLoadedFilePath().c_str());
if(music->IsPlaying())
{
if( music->GetLoadedFilePath() == file )
if( !music->GetLoadedFilePath().CompareNoCase(file) )
return; // do nothing
music->StopPlaying();