summaryrefslogtreecommitdiffhomepage
path: root/Stars45/CmpLoadDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/CmpLoadDlg.cpp')
-rw-r--r--Stars45/CmpLoadDlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/CmpLoadDlg.cpp b/Stars45/CmpLoadDlg.cpp
index 29ba421..7f2fb1f 100644
--- a/Stars45/CmpLoadDlg.cpp
+++ b/Stars45/CmpLoadDlg.cpp
@@ -68,7 +68,7 @@ CmpLoadDlg::Show()
lbl_title->SetText(campaign->Name());
}
- show_time = Game::GetInstance()->RealTime();
+ show_time = Game::GetInstance()->GetClock()->RealTime();
}
// +--------------------------------------------------------------------+
@@ -110,7 +110,7 @@ CmpLoadDlg::MoveTo(const Rect& r)
bool
CmpLoadDlg::IsDone()
{
- if (Game::GetInstance()->RealTime() - show_time < 5000)
+ if (Game::GetInstance()->GetClock()->RealTime() - show_time < 5000)
return false;
return true;