let RageTExtureManager handle this error
This commit is contained in:
@@ -127,22 +127,6 @@ retry:
|
||||
|
||||
CollapsePath( sPath );
|
||||
}
|
||||
if( sPath == sDir )
|
||||
{
|
||||
RString sMessage = ssprintf( "A file in '%s' has a texture '%s' that collapses to './'.",
|
||||
sDir.c_str(), sTextureFile.c_str() );
|
||||
switch( Dialog::AbortRetryIgnore(sMessage) )
|
||||
{
|
||||
case Dialog::abort:
|
||||
RageException::Throw( sMessage );
|
||||
case Dialog::retry:
|
||||
goto retry;
|
||||
case Dialog::ignore:
|
||||
return;
|
||||
default:
|
||||
ASSERT(0);
|
||||
}
|
||||
}
|
||||
|
||||
if( !sPath.empty() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user