fix error reporting
This commit is contained in:
@@ -72,7 +72,7 @@ void Model::Load( CString sFile )
|
||||
LoadFromModelFile( sFile );
|
||||
}
|
||||
|
||||
#define THROW RageException::Throw( "Parse at line %d: '%s'", sLine.c_str() );
|
||||
#define THROW RageException::Throw( "Parse error in \"%s\" at line %d: '%s'", sPath.c_str(), iLineNum, sLine.c_str() );
|
||||
|
||||
void Model::LoadFromModelFile( CString sPath )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user