summaryrefslogtreecommitdiffhomepage
path: root/Stars45/ExitDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/ExitDlg.cpp')
-rw-r--r--Stars45/ExitDlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/ExitDlg.cpp b/Stars45/ExitDlg.cpp
index 66aab6b..d175b79 100644
--- a/Stars45/ExitDlg.cpp
+++ b/Stars45/ExitDlg.cpp
@@ -17,7 +17,7 @@
#include "Starshatter.h"
#include "FormatUtil.h"
-#include "Game.h"
+#include "Clock.h"
#include "Keyboard.h"
#include "Button.h"
#include "RichTextBox.h"
@@ -65,7 +65,7 @@ void
ExitDlg::ExecFrame()
{
if (credits && credits->GetLineCount() > 0) {
- credits->SmoothScroll(ScrollWindow::SCROLL_DOWN, Game::GetInstance()->GetClock()->GuiDelta());
+ credits->SmoothScroll(ScrollWindow::SCROLL_DOWN, Clock::GetInstance()->GuiDelta());
if (credits->GetTopIndex() >= credits->GetLineCount()-1) {
credits->ScrollTo(0);