show per-difficulty awards on the eval screen even if not using a profile
This commit is contained in:
@@ -1045,12 +1045,6 @@ void ScreenEvaluation::CommitScores(
|
|||||||
{
|
{
|
||||||
FOREACH_HumanPlayer( p )
|
FOREACH_HumanPlayer( p )
|
||||||
{
|
{
|
||||||
// must be using a profile to receive awards
|
|
||||||
if( !PROFILEMAN->IsUsingProfile(p) )
|
|
||||||
continue;
|
|
||||||
|
|
||||||
Profile* pProfile = PROFILEMAN->GetProfile(p);
|
|
||||||
|
|
||||||
deque<PerDifficultyAward> &vPdas = GAMESTATE->m_vLastPerDifficultyAwards[p];
|
deque<PerDifficultyAward> &vPdas = GAMESTATE->m_vLastPerDifficultyAwards[p];
|
||||||
|
|
||||||
LOG->Trace( "per difficulty awards" );
|
LOG->Trace( "per difficulty awards" );
|
||||||
@@ -1117,8 +1111,21 @@ void ScreenEvaluation::CommitScores(
|
|||||||
|
|
||||||
LOG->Trace( "done with per combo awards" );
|
LOG->Trace( "done with per combo awards" );
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
// erase awards from the Last list that have been received so that we
|
// erase awards from the Last list that have been received so that we
|
||||||
// won't show them again.
|
// won't show them again.
|
||||||
|
//
|
||||||
|
if( !PROFILEMAN->IsUsingProfile(p) )
|
||||||
|
{
|
||||||
|
// don't show any awards on ScreenAward unless using a profile
|
||||||
|
GAMESTATE->m_vLastPerDifficultyAwards[p].clear();
|
||||||
|
GAMESTATE->m_vLastPeakComboAwards[p].clear();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Profile* pProfile = PROFILEMAN->GetProfile(p);
|
||||||
|
|
||||||
switch( m_Type )
|
switch( m_Type )
|
||||||
{
|
{
|
||||||
case stage:
|
case stage:
|
||||||
@@ -1150,6 +1157,7 @@ void ScreenEvaluation::CommitScores(
|
|||||||
LOG->Trace( "done erasing pcas" );
|
LOG->Trace( "done erasing pcas" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
LOG->Trace( "done handing out awards." );
|
LOG->Trace( "done handing out awards." );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user