From 204da369293a0d4e4a56e8bdbb6556955fd319f6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 15 Oct 2005 21:44:15 +0000 Subject: [PATCH] why did I use "Path"? Stick with "File". (Also, "Path" can refer to a directory or a file; "File" always means a file.) --- stepmania/src/ActorSound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ActorSound.cpp b/stepmania/src/ActorSound.cpp index 8e95f81b42..a0c44a46de 100644 --- a/stepmania/src/ActorSound.cpp +++ b/stepmania/src/ActorSound.cpp @@ -23,7 +23,7 @@ void ActorSound::LoadFromNode( const CString& sDir, const XNode* pNode ) Actor::LoadFromNode( sDir, pNode ); CString sFile; - if( pNode->GetAttrValue("Path", sFile) ) + if( pNode->GetAttrValue("File", sFile) || pNode->GetAttrValue("Path", sFile) ) /* Path deprecated */ { LuaHelpers::RunAtExpressionS( sFile ); FixSlashesInPlace( sFile );