summaryrefslogtreecommitdiffhomepage
path: root/Stars45/MsnEditNavDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/MsnEditNavDlg.cpp')
-rw-r--r--Stars45/MsnEditNavDlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Stars45/MsnEditNavDlg.cpp b/Stars45/MsnEditNavDlg.cpp
index 5c71757..5be7807 100644
--- a/Stars45/MsnEditNavDlg.cpp
+++ b/Stars45/MsnEditNavDlg.cpp
@@ -1,6 +1,6 @@
/* Project Starshatter 4.5
Destroyer Studios LLC
- Copyright © 1997-2004. All Rights Reserved.
+ Copyright (C) 1997-2004. All Rights Reserved.
SUBSYSTEM: Stars.exe
FILE: MsnEditNavDlg.cpp
@@ -174,10 +174,10 @@ MsnEditNavDlg::ScrapeForm()
Galaxy* galaxy = Galaxy::GetInstance();
StarSystem* system = 0;
- if (galaxy)
+ if (galaxy && cmb_system)
system = galaxy->GetSystem(cmb_system->GetSelectedItem());
- if (cmb_system && system) {
+ if (system) {
mission->ClearSystemList();
mission->SetStarSystem(system);