summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Player.cpp')
-rw-r--r--Stars45/Player.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Stars45/Player.cpp b/Stars45/Player.cpp
index e4944e6..8639187 100644
--- a/Stars45/Player.cpp
+++ b/Stars45/Player.cpp
@@ -29,7 +29,7 @@
#include "ParseUtil.h"
#include "FormatUtil.h"
#include "Bitmap.h"
-#include "Game.h"
+#include "Clock.h"
#include "ContentBundle.h"
// +-------------------------------------------------------------------+
@@ -641,7 +641,7 @@ Player::GetMissionPoints(ShipStats* s, DWORD start_time)
if (s) {
result = s->GetPoints();
- int flight_time = (Game::GetInstance()->GetClock()->GameTime() - start_time) / 1000;
+ int flight_time = (Clock::GetInstance()->GameTime() - start_time) / 1000;
// if player survived mission, award one experience point
// for each minute of action, in ten point blocks:
@@ -682,7 +682,7 @@ Player::ProcessStats(ShipStats* s, DWORD start_time)
AddLosses(s->GetDeaths());
AddLosses(s->GetColls());
AddMissions(1);
- AddFlightTime((Game::GetInstance()->GetClock()->GameTime() - start_time) / 1000);
+ AddFlightTime((Clock::GetInstance()->GameTime() - start_time) / 1000);
int rank = Rank();