summaryrefslogtreecommitdiffhomepage
path: root/Stars45/FltDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/FltDlg.cpp')
-rw-r--r--Stars45/FltDlg.cpp12
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)
}
}
}
- }
+ }
}
// +--------------------------------------------------------------------+