summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Starshatter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Starshatter.cpp')
-rw-r--r--Stars45/Starshatter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/Starshatter.cpp b/Stars45/Starshatter.cpp
index 28f1506..0e0f696 100644
--- a/Stars45/Starshatter.cpp
+++ b/Stars45/Starshatter.cpp
@@ -1484,7 +1484,7 @@ Starshatter::DoGameScreenFrame()
}
}
- gamescreen->FrameRate(frame_rate);
+ gamescreen->FrameRate(Game::GetInstance()->GetClock()->Rate());
gamescreen->ExecFrame();
if (KeyDown(KEY_EXIT)) {
@@ -1564,7 +1564,7 @@ Starshatter::DoGameScreenFrame()
DoGameKeys();
}
- gamescreen->FrameRate(frame_rate);
+ gamescreen->FrameRate(Game::GetInstance()->GetClock()->Rate());
gamescreen->ExecFrame();
if (Game::GetInstance()->GetClock()->GameTime() - time_mark > 60000) {