max 1 per-difficulty award per stage

This commit is contained in:
Chris Danford
2004-05-04 02:00:52 +00:00
parent 42ee4096ae
commit 5f3d882537
+4
View File
@@ -1062,6 +1062,10 @@ void ScreenEvaluation::CommitScores(
}
}
// Max one PDA per stage
if( !vPdas.empty() )
vPdas.erase( vPdas.begin(), vPdas.end()-1 );
if( !vPdas.empty() )
pdaToShowOut[p] = vPdas.back();