fix goofy unlocks after reload songs

This commit is contained in:
Chris Danford
2006-05-02 22:02:18 +00:00
parent 2ec5e3b9ca
commit 9fb36069f8
3 changed files with 13 additions and 1 deletions
+10
View File
@@ -511,6 +511,16 @@ void UnlockManager::Load()
return;
}
void UnlockManager::Reload()
{
// clear old data, if any
m_UnlockEntries.clear();
m_RouletteCodes.clear();
Load();
}
float UnlockManager::PointsUntilNextUnlock( UnlockRequirement t ) const
{
float fScores[NUM_UnlockRequirement];