Removed use of UNLOCKMAN inside an UnlockManager member function.
This commit is contained in:
@@ -498,7 +498,7 @@ float UnlockManager::PointsUntilNextUnlock( UnlockRequirement t ) const
|
|||||||
{
|
{
|
||||||
float fScores[NUM_UnlockRequirement];
|
float fScores[NUM_UnlockRequirement];
|
||||||
ZERO( fScores );
|
ZERO( fScores );
|
||||||
UNLOCKMAN->GetPoints( PROFILEMAN->GetMachineProfile(), fScores );
|
GetPoints( PROFILEMAN->GetMachineProfile(), fScores );
|
||||||
|
|
||||||
float fSmallestPoints = FLT_MAX; // or an arbitrarily large value
|
float fSmallestPoints = FLT_MAX; // or an arbitrarily large value
|
||||||
for( unsigned a=0; a<m_UnlockEntries.size(); a++ )
|
for( unsigned a=0; a<m_UnlockEntries.size(); a++ )
|
||||||
|
|||||||
Reference in New Issue
Block a user