aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-11 14:16:40 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-11 14:16:40 +0100
commitf64b793ad8e796458c8e175f298e8d13eb3b3459 (patch)
treec939140d97f5d3aad7c493198019cf9c1a72d8a4 /src/crepe/system
parent6cd6ed3eb2a14e703e97bf95fe1b73fb8d3d91f4 (diff)
feedback
Diffstat (limited to 'src/crepe/system')
-rw-r--r--src/crepe/system/AnimatorSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/AnimatorSystem.cpp b/src/crepe/system/AnimatorSystem.cpp
index 499f618..690b45b 100644
--- a/src/crepe/system/AnimatorSystem.cpp
+++ b/src/crepe/system/AnimatorSystem.cpp
@@ -13,7 +13,7 @@ void AnimatorSystem::update() {
LoopTimerManager & timer = this->mediator.loop_timer;
RefVector<Animator> animations = mgr.get_components_by_type<Animator>();
- double elapsed_time = timer.get_current_time();
+ unsigned long long elapsed_time = timer.get_elapsed_time().count();
for (Animator & a : animations) {
if (!a.active) continue;