From bb032d6a2bd73bc871594ffd4ea6a1339f08878b Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 23 Feb 2005 19:06:31 +0000 Subject: [PATCH] improve error message --- 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 44416af85e..215c1d4693 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -178,8 +178,8 @@ retry: /* Be careful: if sFile is "", and we don't check it, then we can end up recursively * loading the BGAnimationLayer that we're in. */ if( sFile == "" ) - RageException::Throw( "The actor file in '%s' is missing the File attribute", - sAniDir.c_str() ); + RageException::Throw( "The actor file in '%s' is missing the File attribute or has an invalid Type \"%s\"", + sAniDir.c_str(), sType.c_str() ); /* XXX: We need to do a theme search, since the file we're loading might * be overridden by the theme. */