Fixed a bug with "points till next unlock"

Implemented metrics for unlock screen (sets position and size of dance points till next unlock)
This commit is contained in:
Andrew Wong
2003-07-08 12:50:31 +00:00
parent 6fdfd55dba
commit d248bd17e3
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -287,6 +287,7 @@ float UnlockSystem::NumPointsUntilNextUnlock()
fSmallestPoints = min(fSmallestPoints, m_SongEntries[a].m_fDancePointsRequired);
}
if (fSmallestPoints == 400000000) return 0; // no match found
return fSmallestPoints - PREFSMAN->m_fDancePointsAccumulated;
}