diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 14:17:25 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 14:17:25 +0100 |
commit | e70c2a3a4a7f636f190cc64792029cadd3613337 (patch) | |
tree | 8371b0e067430db780b72638eb61555869641979 /src/crepe/system/RenderSystem.cpp | |
parent | 68be6b67f79413cb4af0ca15262ca1547a7d0d41 (diff) | |
parent | 9957da232e7c96f7f88a7ab0edfa4aaf560d1c00 (diff) |
Merge branch 'master' into niels/UI
Diffstat (limited to 'src/crepe/system/RenderSystem.cpp')
-rw-r--r-- | src/crepe/system/RenderSystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/system/RenderSystem.cpp b/src/crepe/system/RenderSystem.cpp index 42e4236..684d798 100644 --- a/src/crepe/system/RenderSystem.cpp +++ b/src/crepe/system/RenderSystem.cpp @@ -112,11 +112,11 @@ bool RenderSystem::render_particle(const Sprite & sprite, const double & scale) bool rendering_particles = false; for (const ParticleEmitter & em : emitters) { - if (&em.data.sprite != &sprite) continue; + if (&em.sprite != &sprite) continue; rendering_particles = true; if (!em.active) continue; - for (const Particle & p : em.data.particles) { + for (const Particle & p : em.particles) { if (!p.active) continue; ctx.draw(SDLContext::RenderContext{ |