diff options
Diffstat (limited to 'Stars45/StarSystem.cpp')
-rw-r--r-- | Stars45/StarSystem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Stars45/StarSystem.cpp b/Stars45/StarSystem.cpp index 8bf1348..d1558d7 100644 --- a/Stars45/StarSystem.cpp +++ b/Stars45/StarSystem.cpp @@ -22,6 +22,7 @@ #include "Game.h" #include "GameWinDX9.h" +#include "Clock.h" #include "Sound.h" #include "Solid.h" #include "Light.h" @@ -70,7 +71,7 @@ void StarSystem::CalcStardate() base_time += epoch; } - long double gtime = (long double) Game::GetInstance()->GetClock()->GameTime() / 1000.0; + long double gtime = (long double) Clock::GetInstance()->GameTime() / 1000.0; long double sdate = gtime + base_time + epoch; stardate = sdate; |