aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/LoopManager.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-10 10:19:49 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-10 10:19:49 +0100
commitfb3edf33aedc1b0c37c3f74a5eaac05bf48f491a (patch)
tree5404a3689952db05c5b5d1ca05e0b89063e80240 /src/crepe/api/LoopManager.cpp
parentaae935bfa77f5bb9c4d2e245ac4fac3c7f4beeb7 (diff)
clarified doxygen and changed function name
Diffstat (limited to 'src/crepe/api/LoopManager.cpp')
-rw-r--r--src/crepe/api/LoopManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/LoopManager.cpp b/src/crepe/api/LoopManager.cpp
index 9bb2183..492b982 100644
--- a/src/crepe/api/LoopManager.cpp
+++ b/src/crepe/api/LoopManager.cpp
@@ -47,7 +47,7 @@ void LoopManager::loop() {
while (game_running) {
this->loop_timer.update();
- while (this->loop_timer.get_lag() >= this->loop_timer.get_fixed_loop_interval()) {
+ while (this->loop_timer.get_lag() >= this->loop_timer.get_fixed_delta_time()) {
this->process_input();
this->fixed_update();
this->loop_timer.advance_fixed_update();