diff options
author | Aki <please@ignore.pl> | 2022-01-30 17:41:24 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-01-30 17:41:24 +0100 |
commit | 51657e10769faa2617d546a06c42e4c62a19bb50 (patch) | |
tree | 688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/FltDlg.cpp | |
parent | db987e23d5dd33a5db8764743facbb906ac22b0f (diff) | |
download | starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2 |
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/FltDlg.cpp')
-rw-r--r-- | Stars45/FltDlg.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Stars45/FltDlg.cpp b/Stars45/FltDlg.cpp index c432b82..5a2d1b2 100644 --- a/Stars45/FltDlg.cpp +++ b/Stars45/FltDlg.cpp @@ -267,7 +267,7 @@ FltDlg::UpdateSelection() switch (hangar->GetState(s)) { case Hangar::STORAGE: alert = true; break; - case Hangar::ALERT: launch = true; + case Hangar::ALERT: launch = true; stand = true; break; case Hangar::QUEUED: stand = true; break; case Hangar::ACTIVE: recall = true; break; @@ -328,7 +328,7 @@ FltDlg::UpdateSelection() if (!design) design = hangar->GetDesign(s); switch (hangar->GetState(s)) { - case Hangar::ALERT: launch = true; + case Hangar::ALERT: launch = true; stand = true; break; case Hangar::QUEUED: stand = true; break; } @@ -432,7 +432,7 @@ FltDlg::UpdateSelection() bool pkg_ok = alert && mission_type > -1; if (pkg_ok && mission_type > 0) { - pkg_ok = objective_list && + pkg_ok = objective_list && objective_list->GetSelCount() > 0; if (pkg_ok) { @@ -731,7 +731,7 @@ FltDlg::OnPackage(AWEvent* event) if (d && d->IsLaunchDeck()) { int dq = hangar->PreflightQueue(d); - + if (dq < queue) { queue = dq; deck = d; @@ -947,7 +947,7 @@ FltDlg::OnRecall(AWEvent* event) nsquad = hangar_list->GetItemData(i, 1); nslot = hangar_list->GetItemData(i, 2); } - + const HangarSlot* slot = hangar->GetSlot(nsquad, nslot); Ship* recall = hangar->GetShip(slot); @@ -957,7 +957,7 @@ FltDlg::OnRecall(AWEvent* event) } } } - } + } } // +--------------------------------------------------------------------+ |