track whether player gave up, hide Barely if gave up

This commit is contained in:
Chris Danford
2005-05-09 10:12:03 +00:00
parent 17b6d15d79
commit f217e5f0f4
4 changed files with 14 additions and 5 deletions
+4 -4
View File
@@ -81,11 +81,11 @@ void GraphDisplay::LoadFromStageStats( const StageStats &ss, const PlayerStageSt
this->AddChild( *p );
}
//
// Search for the min life record
//
if( !pss.bFailed )
if( !pss.bFailed && !pss.bGaveUp )
{
//
// Search for the min life record to show "Just Barely!"
//
float fMinLifeSoFar = 1.0f;
float fMinLifeSoFarAtSecond = 0;
FOREACHM_CONST( float, float, pss.fLifeRecord, i )