summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Ship.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Ship.cpp')
-rw-r--r--Stars45/Ship.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/Ship.cpp b/Stars45/Ship.cpp
index 3ac957e..12b9b7c 100644
--- a/Stars45/Ship.cpp
+++ b/Stars45/Ship.cpp
@@ -3585,7 +3585,7 @@ Ship::TimeSkip()
{
if (CanTimeSkip()) {
// go back to regular time before performing the skip:
- Game::GetInstance()->SetTimeCompression(1);
+ Game::GetInstance()->GetClock()->SetTimeCompression(1.0);
transition_time = 7.5f;
transition_type = TRANSITION_TIME_SKIP;