From 861995c88ef312beb4bc1b7920d612bd52590303 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 8 Mar 2022 23:31:50 +0100 Subject: Removed legacy functions that acted as wrappers for time compression --- Stars45/Sky.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/Sky.cpp') diff --git a/Stars45/Sky.cpp b/Stars45/Sky.cpp index eb22cc3..8f475f6 100644 --- a/Stars45/Sky.cpp +++ b/Stars45/Sky.cpp @@ -132,7 +132,7 @@ Dust::Reset(const Point& ref) void Dust::ExecFrame(double factor, const Point& ref) { - if (Game::GetInstance()->TimeCompression() > 4) { + if (Game::GetInstance()->GetClock()->TimeCompression() > 4.0) { Hide(); return; } -- cgit v1.1