summaryrefslogtreecommitdiffhomepage
path: root/Stars45/CmpLoadDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/CmpLoadDlg.cpp')
-rw-r--r--Stars45/CmpLoadDlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Stars45/CmpLoadDlg.cpp b/Stars45/CmpLoadDlg.cpp
index 7f2fb1f..96c4f45 100644
--- a/Stars45/CmpLoadDlg.cpp
+++ b/Stars45/CmpLoadDlg.cpp
@@ -16,7 +16,7 @@
#include "Starshatter.h"
#include "FormatUtil.h"
-#include "Game.h"
+#include "Clock.h"
#include "DataLoader.h"
#include "Video.h"
#include "Keyboard.h"
@@ -68,7 +68,7 @@ CmpLoadDlg::Show()
lbl_title->SetText(campaign->Name());
}
- show_time = Game::GetInstance()->GetClock()->RealTime();
+ show_time = Clock::GetInstance()->RealTime();
}
// +--------------------------------------------------------------------+
@@ -110,7 +110,7 @@ CmpLoadDlg::MoveTo(const Rect& r)
bool
CmpLoadDlg::IsDone()
{
- if (Game::GetInstance()->GetClock()->RealTime() - show_time < 5000)
+ if (Clock::GetInstance()->RealTime() - show_time < 5000)
return false;
return true;