Subversion Repositories svn1-original

Rev

Rev 379 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 379 Rev 380
Line 3612... Line 3612...
3612
            aNoSort = true;
3612
            aNoSort = true;
3613
        if (b->flags.vet_check)
3613
        if (b->flags.vet_check)
3614
            bNoSort = true;
3614
            bNoSort = true;
3615
    }
3615
    }
3616
 
3616
 
-
 
3617
    if (sort_mode == S_IFIN ) {
-
 
3618
        if (a->isNeData)
-
 
3619
            aNoSort = true;
-
 
3620
        if (b->isNeData)
-
 
3621
            bNoSort = true;
-
 
3622
    }
-
 
3623
 
3617
    // On the Equestrian Leg, vetted out teams are treated as disqualified
3624
    // On the Equestrian Leg, vetted out teams are treated as disqualified
3618
    if (sort_leg == config.equestrian_leg || (sort_afterEquestrianLeg && ( sort_mode == S_LE || sort_mode == S_LEC))) {
3625
    if (sort_leg == config.equestrian_leg || (sort_afterEquestrianLeg && ( sort_mode == S_LE || sort_mode == S_LEC))) {
3619
        if (a->flags.vet_check)
3626
        if (a->flags.vet_check)
3620
            aNoSort = true;
3627
            aNoSort = true;
3621
        if (b->flags.vet_check)
3628
        if (b->flags.vet_check)
Line 3719... Line 3726...
3719
      default:
3726
      default:
3720
        return ( 0 );
3727
        return ( 0 );
3721
    }
3728
    }
3722
 
3729
 
3723
    if (sort_mode != S_LC_NE) {
3730
    if (sort_mode != S_LC_NE) {
3724
    /*
3731
        /*
3725
     ** If we are ignore Equestrian config then place the Equestrian data last
3732
         ** If we are ignore Equestrian config then place the Equestrian data last
3726
    */
3733
        */
3727
    if (sort_withEquestrian) {
3734
        if (sort_withEquestrian) {
3728
        if (a->isNeData != b->isNeData)
3735
            if (a->isNeData != b->isNeData)
3729
            return ( a->isNeData ? 1 : -1 );
3736
                return ( a->isNeData ? 1 : -1 );
3730
    }
3737
        }
3731
 
-
 
3732
 
3738
 
3733
    if ( a->team == b->team) {
3739
        if ( a->team == b->team) {
3734
        return ( a->isNeData ? 1 : -1 );
3740
            return ( a->isNeData ? 1 : -1 );
3735
    }
3741
        }
3736
    }
3742
    }
3737
 
3743
 
3738
    /*
3744
    /*
3739
    **  Finally. Compare the required team times
3745
    **  Finally. Compare the required team times
3740
    */
3746
    */