summaryrefslogtreecommitdiff
path: root/src/port/Engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/Engine.cpp')
-rw-r--r--src/port/Engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp
index c8734fab4..15acab0ac 100644
--- a/src/port/Engine.cpp
+++ b/src/port/Engine.cpp
@@ -385,7 +385,7 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) {
auto wnd = std::dynamic_pointer_cast<Fast::Fast3dWindow>(Ship::Context::GetInstance()->GetWindow());
if (wnd != nullptr) {
- wnd->SetTargetFps(CVarGetInteger("gInterpolationFPS", 30));
+ wnd->SetTargetFps(GetInterpolationFPS());
wnd->SetMaximumFrameLatency(1);
}
RunCommands(commands, mtx_replacements);