summaryrefslogtreecommitdiffhomepage
path: root/Stars45/ExitDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/ExitDlg.cpp')
-rw-r--r--Stars45/ExitDlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/ExitDlg.cpp b/Stars45/ExitDlg.cpp
index 4eac852..548d1cb 100644
--- a/Stars45/ExitDlg.cpp
+++ b/Stars45/ExitDlg.cpp
@@ -65,7 +65,7 @@ void
ExitDlg::ExecFrame()
{
if (credits && credits->GetLineCount() > 0) {
- credits->SmoothScroll(ScrollWindow::SCROLL_DOWN, Game::GUITime());
+ credits->SmoothScroll(ScrollWindow::SCROLL_DOWN, Game::GetInstance()->GUITime());
if (credits->GetTopIndex() >= credits->GetLineCount()-1) {
credits->ScrollTo(0);