diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-01 23:03:07 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-01 23:03:07 +0100 |
commit | cbd4b97d348c46f4f43fe59683a5e3d1bdbc500f (patch) | |
tree | d41f6323ffa31ef6d96ccc4f5198965f22f87c08 /src/crepe/api/LoopManager.cpp | |
parent | a69ae733dae7996be41f54d8f8d9c1c5e5879b92 (diff) |
improved readablity of check_collision function and reset LoopManager
Diffstat (limited to 'src/crepe/api/LoopManager.cpp')
-rw-r--r-- | src/crepe/api/LoopManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/LoopManager.cpp b/src/crepe/api/LoopManager.cpp index d3a7f44..35919cc 100644 --- a/src/crepe/api/LoopManager.cpp +++ b/src/crepe/api/LoopManager.cpp @@ -47,11 +47,11 @@ void LoopManager::loop() { while (game_running) { timer.update(); - //while (timer.get_lag() >= timer.get_fixed_delta_time()) { + while (timer.get_lag() >= timer.get_fixed_delta_time()) { this->process_input(); this->fixed_update(); timer.advance_fixed_update(); - //} + } this->update(); this->render(); |