From 0052edae47d1e6ae613497c524719eff5838f52a Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 18 Feb 2022 23:54:30 +0100 Subject: Switched to use GetIntance for Game instead of static methods --- Stars45/ExitDlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/ExitDlg.cpp') 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); -- cgit v1.1