diff options
Diffstat (limited to 'Stars45/MsnDlg.cpp')
-rw-r--r-- | Stars45/MsnDlg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/MsnDlg.cpp b/Stars45/MsnDlg.cpp index 3f1d85c..8396fbc 100644 --- a/Stars45/MsnDlg.cpp +++ b/Stars45/MsnDlg.cpp @@ -249,7 +249,7 @@ MsnDlg::CalcTimeOnTarget() double dist = Point(loc - navpt->Location()).length(); int etr = 0; - + if (navpt->Speed() > 0) etr = (int) (dist / navpt->Speed()); else |