Add utility methods for step's #CREDIT tag.

This commit is contained in:
Jason Felds
2011-02-11 01:50:23 -05:00
parent 985a62e504
commit f8694fe463
3 changed files with 50 additions and 9 deletions
+2 -2
View File
@@ -258,11 +258,11 @@ Steps *StepsID::ToSteps( const Song *p, bool bAllowNull ) const
Steps *pRet = NULL;
if( dc == Difficulty_Edit )
{
pRet = SongUtil::GetOneSteps( p, st, dc, -1, -1, sDescription, uHash, true );
pRet = SongUtil::GetOneSteps( p, st, dc, -1, -1, sDescription, "", uHash, true );
}
else
{
pRet = SongUtil::GetOneSteps( p, st, dc, -1, -1, "", 0, true );
pRet = SongUtil::GetOneSteps( p, st, dc, -1, -1, "", "", 0, true );
}
if( !bAllowNull && pRet == NULL )