level_tally_t::UseBonuses: Swap order of checks so the less expensive grandprixinfo comparison is done first

This commit is contained in:
toaster 2023-09-18 18:13:41 +01:00
parent 9574d7a040
commit a6fc60a5a3

View file

@ -43,7 +43,7 @@ boolean level_tally_t::UseBonuses(void)
}
// No bonuses / ranking in FREE PLAY or Time Attack
return (K_TimeAttackRules() == false || grandprixinfo.gp == true);
return (grandprixinfo.gp == true || K_TimeAttackRules() == false);
}
void level_tally_t::DetermineBonuses(void)