aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-10 18:14:57 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-10 18:14:57 +0100
commit08d48aabac838a641ef918da92d9827b214e5da6 (patch)
tree1501556f2e0fbeb7ac67694b4a547a76708dfb4c /src/crepe/system
parent760351abd1a6609a8fe0de1269ac69ea275f4250 (diff)
added comments and code standard
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 a0b1e55..33027f8 100644
--- a/src/crepe/system/ParticleSystem.cpp
+++ b/src/crepe/system/ParticleSystem.cpp
@@ -38,7 +38,7 @@ void ParticleSystem::update() {
check_bounds(emitter, transform);
}
- update_count = (update_count + 1) % MAX_UPDATE_COUNT;
+ this->update_count = (this->update_count + 1) % this->MAX_UPDATE_COUNT;
}
void ParticleSystem::emit_particle(ParticleEmitter & emitter, const Transform& transform) {