source/gjScore.cpp
FOR_EACH(et, m_apScore)
        {
            gjScore* pOldScore = (*et);

            if(pOldScore->GetUserName() == pNewScore->GetUserName() &&
               pOldScore->GetSort()     == pNewScore->GetSort())
            {
                // specific score entry already available
                SAFE_DELETE(pNewScore)
                pNewScore = pOldScore;
                bNew = false;
                break;
            }
        }
// check if specific score entry is already available
check if specific score entry is already available
check if specific score entry is already available
FOR_EACH(et, m_apScore)
        {
            gjScore* pOldScore = (*et);
            if(pOldScore->GetUserName() == pNewScore->GetUserName() &&
               pOldScore->GetSort()     == pNewScore->GetSort())
            {
                SAFE_DELETE(pNewScore)
                pNewScore = pOldScore;
                bNew = false;
                break;
            }
        }
FOR_EACH ( et , m_apScore ) { gjScore * pOldScore = ( * et ) ; if ( pOldScore -> GetUserName ( ) == pNewScore -> GetUserName ( ) && pOldScore -> GetSort ( ) == pNewScore -> GetSort ( ) ) { SAFE_DELETE ( pNewScore ) pNewScore = pOldScore ; bNew = false ; break ; } }
check if specific score entry is already available
check if specific score entry is already available
// specific score entry already available