aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/system')
-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);