diff options
author | Aki <please@ignore.pl> | 2022-03-08 23:31:50 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-08 23:31:50 +0100 |
commit | 861995c88ef312beb4bc1b7920d612bd52590303 (patch) | |
tree | ddd14c9ee676bc363b313a946fc3c24da02f8748 /Stars45/Ship.cpp | |
parent | e472d9537ee7919630e5f6039f8425b06f6c4213 (diff) | |
download | starshatter-861995c88ef312beb4bc1b7920d612bd52590303.zip starshatter-861995c88ef312beb4bc1b7920d612bd52590303.tar.gz starshatter-861995c88ef312beb4bc1b7920d612bd52590303.tar.bz2 |
Removed legacy functions that acted as wrappers for time compression
Diffstat (limited to 'Stars45/Ship.cpp')
-rw-r--r-- | Stars45/Ship.cpp | 2 |
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; |