aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/manager/LoopTimerManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/manager/LoopTimerManager.cpp')
-rw-r--r--src/crepe/manager/LoopTimerManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/manager/LoopTimerManager.cpp b/src/crepe/manager/LoopTimerManager.cpp
index 9c77785..597b214 100644
--- a/src/crepe/manager/LoopTimerManager.cpp
+++ b/src/crepe/manager/LoopTimerManager.cpp
@@ -81,7 +81,7 @@ double LoopTimerManager::get_lag() const {
double LoopTimerManager::get_fixed_delta_time() const {
return this->fixed_delta_time.count() * this->time_scale;
}
-void LoopTimerManager::set_fixed_delta_time(int seconds) {
+void LoopTimerManager::set_fixed_delta_time(double seconds) {
this->fixed_delta_time = std::chrono::duration<double>(seconds);
}