aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/ParticleSystem.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-08 21:37:28 +0000
committerJAROWMR <jarorutjes07@gmail.com>2024-11-08 21:37:28 +0000
commit4e6f10f2d6ed593a21b985ccabe305a9cd6212cc (patch)
treef080f8cb689a976ecba10ebb280a196999a51deb /src/crepe/system/ParticleSystem.cpp
parentd69adb5666fd6f73edbc6d410afcdf23c24e7c6b (diff)
fixed build
Diffstat (limited to 'src/crepe/system/ParticleSystem.cpp')
-rw-r--r--src/crepe/system/ParticleSystem.cpp2
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);