From 01d6504058a4f26706f8d02761d9045f1fbbe7d5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 15 Oct 2006 04:01:12 +0000 Subject: [PATCH] on GetAttrPath where the file doesn't exist and we ignore the error, return false as if the attribute didn't exist --- stepmania/src/ActorUtil.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index 8954d6eabe..c589b3beaf 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -479,9 +479,7 @@ bool ActorUtil::GetAttrPath( const XNode *pNode, const RString &sName, RString & sOut = sDir+sOut; } - ActorUtil::ResolvePath( sOut, ActorUtil::GetWhere(pNode) ); - - return true; + return ActorUtil::ResolvePath( sOut, ActorUtil::GetWhere(pNode) ); } apActorCommands ActorUtil::ParseActorCommands( const RString &sCommands, const RString &sName )