aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/AISystem.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-07 22:42:35 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-07 22:42:35 +0100
commit31e4ba33bec0cc5c33d9668cd0244972523bf8ad (patch)
tree46bf64344db34b02f9a77f4c1aeb57ddecd53f08 /src/crepe/system/AISystem.cpp
parent289ecc3a3829e9b3acff0b1778f75bc526173977 (diff)
parent9b4f6f24f29e8873a14989ba8c9fccfbc460af7f (diff)
Merge branch 'jaro/physics-system-improvement' into jaro/particle-system-improvement
Diffstat (limited to 'src/crepe/system/AISystem.cpp')
-rw-r--r--src/crepe/system/AISystem.cpp2
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