More Sprite debugging.

This commit is contained in:
Steve Checkoway
2006-06-24 01:33:17 +00:00
parent e6d128cb7b
commit ae4e5ba9e5
+16
View File
@@ -130,6 +130,22 @@ retry:
CollapsePath( sPath );
}
if( sPath == sDir )
{
RString sMessage = ssprintf( "'%s' has a texture '%s' that collapses to './'.",
m_sSpritePath.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() )
{