From 463d7afb3ca5492bda7b0bdea8707345d4f4f8c7 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 30 Sep 2003 19:29:20 +0000 Subject: [PATCH] Fix error reporting. --- stepmania/src/ActorUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index 7eef6ba278..43106175a1 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -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() ); }