fix Song::RevertFromDisk when playing autogen steps
This commit is contained in:
@@ -302,7 +302,7 @@ struct SongID
|
|||||||
{
|
{
|
||||||
if( st == STEPS_TYPE_INVALID || dc == DIFFICULTY_INVALID )
|
if( st == STEPS_TYPE_INVALID || dc == DIFFICULTY_INVALID )
|
||||||
return NULL;
|
return NULL;
|
||||||
Steps *ret = p->GetStepsByDifficulty( st, dc, false );
|
Steps *ret = p->GetStepsByDifficulty( st, dc, true );
|
||||||
RAGE_ASSERT_M( ret, ssprintf("%i, %i", st, dc) ); // we had something selected before reloading, so it better still be there after!
|
RAGE_ASSERT_M( ret, ssprintf("%i, %i", st, dc) ); // we had something selected before reloading, so it better still be there after!
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user