aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/ParticleSystem.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-12 15:51:29 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-12 15:51:29 +0100
commitd4b4a54f919872ef1295890cd36ac46d89a4426d (patch)
treea756abccb2ab1f8c549893dca57541d222ccb8a3 /src/crepe/system/ParticleSystem.cpp
parent5b1c45c2c3bd695ee8d8b5baa4b1988e24596559 (diff)
removed old code
Diffstat (limited to 'src/crepe/system/ParticleSystem.cpp')
-rw-r--r--src/crepe/system/ParticleSystem.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/crepe/system/ParticleSystem.cpp b/src/crepe/system/ParticleSystem.cpp
index 941e502..204afaf 100644
--- a/src/crepe/system/ParticleSystem.cpp
+++ b/src/crepe/system/ParticleSystem.cpp
@@ -43,8 +43,6 @@ void ParticleSystem::update() {
// Check if within boundary
this->check_bounds(emitter, transform);
}
-
- this->update_count = (this->update_count + 1) % this->MAX_UPDATE_COUNT;
}
void ParticleSystem::emit_particle(ParticleEmitter & emitter, const Transform & transform) {