From 37086daa74ab35fc875ce43ae03fe9c0d15ea8b2 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 22 Jan 2004 02:33:22 +0000 Subject: [PATCH] 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. --- stepmania/src/ScreenEvaluation.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/stepmania/src/ScreenEvaluation.cpp b/stepmania/src/ScreenEvaluation.cpp index 6d604bee42..ca87ef47ad 100644 --- a/stepmania/src/ScreenEvaluation.cpp +++ b/stepmania/src/ScreenEvaluation.cpp @@ -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: