remove ResolvePath calls; this is done automatically and has been a noop
for a long time
This commit is contained in:
@@ -534,7 +534,6 @@ CString DerefRedir(const CString &path)
|
||||
if( GetExtension(path) != "redir" )
|
||||
{
|
||||
CString path2 = path;
|
||||
ResolvePath( path2 );
|
||||
return path2;
|
||||
}
|
||||
|
||||
@@ -550,8 +549,6 @@ CString DerefRedir(const CString &path)
|
||||
|
||||
CollapsePath( path2 );
|
||||
|
||||
ResolvePath( path2 );
|
||||
|
||||
if( !DoesFileExist(path2) )
|
||||
RageException::Throw( "The redirect '%s' references a file '%s' which doesn't exist.", path.c_str(), path2.c_str() );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user