diff options
Diffstat (limited to 'Stars45/StarSystem.cpp')
-rw-r--r-- | Stars45/StarSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/StarSystem.cpp b/Stars45/StarSystem.cpp index 77d92c1..e78d970 100644 --- a/Stars45/StarSystem.cpp +++ b/Stars45/StarSystem.cpp @@ -69,7 +69,7 @@ void StarSystem::CalcStardate() base_time += epoch; } - long double gtime = (long double) Game::GetInstance()->GameTime() / 1000.0; + long double gtime = (long double) Game::GetInstance()->GetClock()->GameTime() / 1000.0; long double sdate = gtime + base_time + epoch; stardate = sdate; |