diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-12 18:47:18 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-12 18:47:18 +0100 |
commit | feb27ebdc4086dec62e45e3a6c83bdd021568dd5 (patch) | |
tree | 7eea03283185de5751a2fb6fd997212c901e477b /src/crepe/system/ParticleSystem.cpp | |
parent | 229a95edaa03a8a4f0358280acb6b5ffef581ced (diff) |
reverted dt
Diffstat (limited to 'src/crepe/system/ParticleSystem.cpp')
-rw-r--r-- | src/crepe/system/ParticleSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/ParticleSystem.cpp b/src/crepe/system/ParticleSystem.cpp index a58edf0..85b8248 100644 --- a/src/crepe/system/ParticleSystem.cpp +++ b/src/crepe/system/ParticleSystem.cpp @@ -17,7 +17,7 @@ void ParticleSystem::update() { const Mediator & mediator = this->mediator; LoopTimerManager & loop_timer = mediator.loop_timer; ComponentManager & mgr = mediator.component_manager; - float dt = loop_timer.get_scaled_fixed_delta_time(); + float dt = loop_timer.get_scaled_fixed_delta_time().count(); RefVector<ParticleEmitter> emitters = mgr.get_components_by_type<ParticleEmitter>(); |