Fix error reporting.
This commit is contained in:
@@ -86,7 +86,7 @@ Actor* MakeActor( CString sPath )
|
|||||||
return pModel;
|
return pModel;
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT(0);
|
RageException::Throw("File \"%s\" has unknown type, \"%s\"",
|
||||||
return NULL;
|
sPath.c_str(), sExt.c_str() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user