summaryrefslogtreecommitdiffhomepage
path: root/Stars45/SimEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/SimEvent.cpp')
-rw-r--r--Stars45/SimEvent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/SimEvent.cpp b/Stars45/SimEvent.cpp
index 60d254d..fc4cc7f 100644
--- a/Stars45/SimEvent.cpp
+++ b/Stars45/SimEvent.cpp
@@ -31,7 +31,7 @@ SimEvent::SimEvent(int e, const char* t, const char* i)
time = (int) sim->MissionClock();
}
else {
- time = (int) (Game::GetInstance()->GameTime()/1000);
+ time = (int) (Game::GetInstance()->GetClock()->GameTime()/1000);
}
SetTarget(t);