error output
This commit is contained in:
@@ -56,8 +56,8 @@ bool Model::LoadMilkshapeAscii( CString sPath )
|
|||||||
const CString sDir = Dirname( sPath );
|
const CString sDir = Dirname( sPath );
|
||||||
|
|
||||||
FILE *file = fopen (sPath, "rt");
|
FILE *file = fopen (sPath, "rt");
|
||||||
if (!file)
|
if( !file )
|
||||||
RageException::Throw( "Model::LoadMilkshapeAscii Could not open '%s'.", sPath.c_str() );
|
RageException::Throw( "Model::LoadMilkshapeAscii Could not open \"%s\": %s", sPath.c_str(), strerror(errno) );
|
||||||
|
|
||||||
Clear ();
|
Clear ();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user