diff options
Diffstat (limited to 'Stars45/NavLight.cpp')
-rw-r--r-- | Stars45/NavLight.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/NavLight.cpp b/Stars45/NavLight.cpp index 63712ac..48bd826 100644 --- a/Stars45/NavLight.cpp +++ b/Stars45/NavLight.cpp @@ -100,7 +100,7 @@ void NavLight::ExecFrame(double seconds) { if (enable && power_on) { - double t = (Game::GetInstance()->GameTime()+offset) / 1000.0; + double t = (Game::GetInstance()->GetClock()->GameTime()+offset) / 1000.0; DWORD n = (int) (fmod(t, period) * 32 / period); DWORD code = 1 << n; |