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