diff options
Diffstat (limited to 'StarsEx/StarSystem.cpp')
-rw-r--r-- | StarsEx/StarSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StarsEx/StarSystem.cpp b/StarsEx/StarSystem.cpp index 9d8e377..b31f577 100644 --- a/StarsEx/StarSystem.cpp +++ b/StarsEx/StarSystem.cpp @@ -70,7 +70,7 @@ void StarSystem::CalcStardate() base_time += epoch; } - long double gtime = (long double) Clock::GetInstance()->GameTime() / 1000.0; + long double gtime = Clock::GetInstance()->GameTime<long double>() / 1000.0; long double sdate = gtime + base_time + epoch; stardate = sdate; |