From a793e933b1e7e5b62fe4e15403e1d5fb33dc2dd4 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 6 Apr 2022 20:42:06 +0200 Subject: Removed MaxFrameLength --- StarsEx/Sim.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'StarsEx/Sim.cpp') diff --git a/StarsEx/Sim.cpp b/StarsEx/Sim.cpp index 7249d82..d57a56b 100644 --- a/StarsEx/Sim.cpp +++ b/StarsEx/Sim.cpp @@ -2509,7 +2509,7 @@ SimRegion::ExecFrame(double secs) // DON'T REALLY KNOW WHAT PURPOSE THIS SERVES.... if (!active) { - double max_frame = 3 * Game::GetInstance()->GetMaxFrameLength(); + double max_frame = 3.0 / 5.0; // Value is based on already removed legacy constants. long new_time = Clock::GetInstance()->GameTime(); double delta = new_time - sim_time; seconds = delta / 1000.0; -- cgit v1.1