Simplify: always add unlock DP during stage eval, never during summary

The only change I can think this might make is that all stages will count,
instead of the last 4 or however it is summary counts.  This is better, because
unlock will still work if the summary eval screen is disabled in the theme.
This commit is contained in:
Glenn Maynard
2004-01-22 02:33:22 +00:00
parent 2a501a9d17
commit 37086daa74
+1 -10
View File
@@ -229,16 +229,7 @@ ScreenEvaluation::ScreenEvaluation( CString sClassName ) : Screen(sClassName)
UNLOCKSYS->UnlockClearStage();
UNLOCKSYS->UnlockAddAP( grade[p] );
UNLOCKSYS->UnlockAddSP( grade[p] );
// we want to save dance points here if we are in event mode.
// otherwise, dance points will never get saved except
// in nonstop mode.
if( PREFSMAN->m_bEventMode )
UNLOCKSYS->UnlockAddDP( (float)stageStats.iActualDancePoints[p] );
break;
case summary:
UNLOCKSYS->UnlockAddDP( (float) stageStats.iActualDancePoints[p] );
UNLOCKSYS->UnlockAddDP( (float)stageStats.iActualDancePoints[p] );
break;
case course: