diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-07 20:42:38 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-07 20:42:38 +0100 |
commit | 9b4f6f24f29e8873a14989ba8c9fccfbc460af7f (patch) | |
tree | 318ad2da9afcf57a246f37d406bea9e782ea988e /src/crepe/system/AISystem.cpp | |
parent | 529e55a28a7e51bf3dd0f08fa9d6f0192445a7b4 (diff) |
use fixed delta time
Diffstat (limited to 'src/crepe/system/AISystem.cpp')
-rw-r--r-- | src/crepe/system/AISystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/AISystem.cpp b/src/crepe/system/AISystem.cpp index 324ee5f..64e93fc 100644 --- a/src/crepe/system/AISystem.cpp +++ b/src/crepe/system/AISystem.cpp @@ -17,7 +17,7 @@ void AISystem::update() { ComponentManager & mgr = mediator.component_manager; RefVector<AI> ai_components = mgr.get_components_by_type<AI>(); - double dt = LoopTimer::get_instance().get_delta_time(); + double dt = LoopTimer::get_instance().get_fixed_delta_time(); for (AI & ai : ai_components) { RefVector<Rigidbody> rigidbodies |