From 51657e10769faa2617d546a06c42e4c62a19bb50 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 30 Jan 2022 17:41:24 +0100 Subject: Removed trailing whitespace all over the place --- Stars45/FighterTacticalAI.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Stars45/FighterTacticalAI.cpp') diff --git a/Stars45/FighterTacticalAI.cpp b/Stars45/FighterTacticalAI.cpp index a1d2cce..9463a92 100644 --- a/Stars45/FighterTacticalAI.cpp +++ b/Stars45/FighterTacticalAI.cpp @@ -368,7 +368,7 @@ FighterTacticalAI::SelectSecondaryForTarget(Ship* tgt) WeaponGroup* best = 0; List weps; - + if (ListSecondariesForTarget(tgt, weps)) { winchester[wix] = false; @@ -417,7 +417,7 @@ FighterTacticalAI::SelectSecondaryForTarget(Ship* tgt) } } } - + else { winchester[wix] = true; @@ -498,9 +498,9 @@ FighterTacticalAI::FindThreat() while (++c_iter) { Contact* contact = c_iter.value(); - if (contact->Threat(ship) && + if (contact->Threat(ship) && (Game::GameTime() - contact->AcquisitionTime()) > THREAT_REACTION_TIME) { - + double rng = contact->Range(ship); if (contact->GetShot()) { -- cgit v1.1