Fix error reporting.

This commit is contained in:
Glenn Maynard
2003-09-30 19:29:20 +00:00
parent b24015d9fa
commit 463d7afb3c
+2 -2
View File
@@ -86,7 +86,7 @@ Actor* MakeActor( CString sPath )
return pModel;
}
ASSERT(0);
return NULL;
RageException::Throw("File \"%s\" has unknown type, \"%s\"",
sPath.c_str(), sExt.c_str() );
}