continue phasing out BASE_PATH and SLASH

This commit is contained in:
Glenn Maynard
2003-12-10 09:44:16 +00:00
parent cd7ab704cb
commit e9ae2c0803
13 changed files with 40 additions and 44 deletions
+4 -7
View File
@@ -57,8 +57,8 @@ void AddLayersFromAniDir( CString sAniDir, vector<BGAnimationLayer*> &layersAddT
if( sAniDir.empty() )
return;
if( sAniDir.Right(1) != SLASH )
sAniDir += SLASH;
if( sAniDir.Right(1) != "/" )
sAniDir += "/";
RAGE_ASSERT_M( IsADirectory(sAniDir), sAniDir + " isn't a directory" );
@@ -79,9 +79,6 @@ void AddLayersFromAniDir( CString sAniDir, vector<BGAnimationLayer*> &layersAddT
if( ini.GetValue(sLayer, "Import", sImportDir) )
{
// import a whole BGAnimation
#ifdef _XBOX
sImportDir.Replace( "/", SLASH );
#endif
sImportDir = sAniDir + sImportDir;
CollapsePath( sImportDir );
AddLayersFromAniDir( sImportDir, layersAddTo, Generic );
@@ -104,8 +101,8 @@ void BGAnimation::LoadFromAniDir( CString sAniDir )
if( sAniDir.empty() )
return;
if( sAniDir.Right(1) != SLASH )
sAniDir += SLASH;
if( sAniDir.Right(1) != "/" )
sAniDir += "/";
RAGE_ASSERT_M( IsADirectory(sAniDir), sAniDir + " isn't a directory" );