From a6fc60a5a360c65cb377047973477adcd5d1a4d4 Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 18 Sep 2023 18:13:41 +0100 Subject: [PATCH] level_tally_t::UseBonuses: Swap order of checks so the less expensive grandprixinfo comparison is done first --- src/k_tally.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k_tally.cpp b/src/k_tally.cpp index 54115326b..3e5c16f27 100644 --- a/src/k_tally.cpp +++ b/src/k_tally.cpp @@ -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)