diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-28 13:13:54 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-28 13:13:54 +0100 |
commit | 7a07c56d572a6f30d0aa611bd566197bc04c3b33 (patch) | |
tree | 75a5c234c48dad5c35d4773409bd6efcd4514dc3 /src/crepe/system/ParticleSystem.cpp | |
parent | 63bce3dd21c82e2b4e45c07934d5a26684cdaa93 (diff) |
add more documentation to Mediator + fix system mediator use
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 ebae56b..b14c52f 100644 --- a/src/crepe/system/ParticleSystem.cpp +++ b/src/crepe/system/ParticleSystem.cpp @@ -12,7 +12,7 @@ using namespace crepe; void ParticleSystem::update() { // Get all emitters - ComponentManager & mgr = this->component_manager; + ComponentManager & mgr = this->mediator.component_manager; RefVector<ParticleEmitter> emitters = mgr.get_components_by_type<ParticleEmitter>(); for (ParticleEmitter & emitter : emitters) { |