give new edits unique names

This commit is contained in:
Chris Danford
2005-03-07 05:23:18 +00:00
parent a07f0822d1
commit e65362e3f5
6 changed files with 79 additions and 34 deletions
+2 -2
View File
@@ -176,11 +176,11 @@ Steps *StepsID::ToSteps( const Song *p, bool bAllowNull, bool bUseCache ) const
Steps *ret = NULL;
if( dc == DIFFICULTY_EDIT )
{
ret = p->GetSteps( st, dc, -1, -1, sDescription, uHash, true );
ret = p->GetOneSteps( st, dc, -1, -1, sDescription, uHash, true );
}
else
{
ret = p->GetSteps( st, dc, -1, -1, "", 0, true );
ret = p->GetOneSteps( st, dc, -1, -1, "", 0, true );
}
if( !bAllowNull && ret == NULL )