unlock system changes - mainly to try implement extreme-style unlock scrolling

This commit is contained in:
Andrew Wong
2003-07-20 15:09:37 +00:00
parent f2747c9ccc
commit 42ea9a0fdb
2 changed files with 29 additions and 6 deletions
+3 -1
View File
@@ -429,7 +429,9 @@ float UnlockSystem::UnlockAddAP(Grade credit)
float UnlockSystem::UnlockAddDP(float credit)
{
ReadValues("Data/MemCard.ini");
DancePoints += credit;
// we don't want to ever take away dance points
if (credit > 0) DancePoints += credit;
WriteValues("Data/MemCard.ini");
return DancePoints;