summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NavDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/NavDlg.cpp')
-rw-r--r--Stars45/NavDlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Stars45/NavDlg.cpp b/Stars45/NavDlg.cpp
index bbc4d86..d5494c1 100644
--- a/Stars45/NavDlg.cpp
+++ b/Stars45/NavDlg.cpp
@@ -28,7 +28,7 @@
#include "Contact.h"
#include "Mission.h"
-#include "Game.h"
+#include "Clock.h"
#include "ContentBundle.h"
#include "Keyboard.h"
#include "Mouse.h"
@@ -1046,7 +1046,7 @@ NavDlg::OnMapClick(AWEvent* event)
CoordinateSelection();
// double-click:
- if (Game::GetInstance()->GetClock()->RealTime() - click_time < 350) {
+ if (Clock::GetInstance()->RealTime() - click_time < 350) {
MissionElement* elem = star_map->GetSelectedElem();
MsnElemDlg* msn_elem_dlg = manager->GetMsnElemDlg();
@@ -1057,7 +1057,7 @@ NavDlg::OnMapClick(AWEvent* event)
}
}
- click_time = Game::GetInstance()->GetClock()->RealTime();
+ click_time = Clock::GetInstance()->RealTime();
}
void