From 292de23eb1e1c0a466512b37d60d20e6f3340149 Mon Sep 17 00:00:00 2001 From: Andrew Wong Date: Thu, 18 Sep 2003 20:05:29 +0000 Subject: [PATCH] update DP if player is playing event mode (it would never add it before since event mode never reaches the summary evaluation screen) --- stepmania/src/ScreenEvaluation.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stepmania/src/ScreenEvaluation.cpp b/stepmania/src/ScreenEvaluation.cpp index 931860d035..de8084347e 100644 --- a/stepmania/src/ScreenEvaluation.cpp +++ b/stepmania/src/ScreenEvaluation.cpp @@ -177,6 +177,13 @@ ScreenEvaluation::ScreenEvaluation( CString sClassName, Type type ) : Screen(sCl GAMESTATE->m_pUnlockingSys->UnlockClearStage(); GAMESTATE->m_pUnlockingSys->UnlockAddAP( grade[p] ); GAMESTATE->m_pUnlockingSys->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 ) + GAMESTATE->m_pUnlockingSys->UnlockAddDP( (float)stageStats.iActualDancePoints[p] ); + } } }