diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-11-08 21:37:28 +0000 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-11-08 21:37:28 +0000 |
commit | 4e6f10f2d6ed593a21b985ccabe305a9cd6212cc (patch) | |
tree | f080f8cb689a976ecba10ebb280a196999a51deb /src/crepe/system | |
parent | d69adb5666fd6f73edbc6d410afcdf23c24e7c6b (diff) |
fixed build
Diffstat (limited to 'src/crepe/system')
-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 23534a3..b2fe829 100644 --- a/src/crepe/system/ParticleSystem.cpp +++ b/src/crepe/system/ParticleSystem.cpp @@ -22,7 +22,7 @@ void ParticleSystem::update() { for (ParticleEmitter & emitter : emitters) { // Get transform linked to emitter - const Transform& transform = mgr.get_components_by_id<Transform>(emitter.GAME_OBJECT_ID).front().get(); + const Transform& transform = mgr.get_components_by_id<Transform>(emitter.game_object_id).front().get(); // Check if within boundary check_bounds(emitter,transform); |