continue phasing out BASE_PATH and SLASH
This commit is contained in:
1 parent
cd7ab704cb
commit
e9ae2c0803
13 files changed
+40
-44
No files matched your search
@@ -215,8 +215,8 @@ void RageSoundManager::PlayOnceFromDir( CString sDir )
|
||||
return;
|
||||
|
||||
// make sure there's a slash at the end of this path
|
||||
if( sDir.Right(1) != SLASH )
|
||||
sDir += SLASH;
|
||||
if( sDir.Right(1) != "/" )
|
||||
sDir += "/";
|
||||
|
||||
CStringArray arraySoundFiles;
|
||||
GetDirListing( sDir + "*.mp3", arraySoundFiles );
|
||||
|
||||
Reference in new issue
Block a user