aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/ParticleEmitter.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-12 22:04:49 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-12 22:04:49 +0100
commitd3a04fb1e8b119017375caab74c43674006a7348 (patch)
tree6fe8f16275318245c6cdcb925825587fbf076910 /src/crepe/api/ParticleEmitter.cpp
parent927aab8cf424d1f3bf25056ce4b4126ce9f4edab (diff)
broken particle test
Diffstat (limited to 'src/crepe/api/ParticleEmitter.cpp')
-rw-r--r--src/crepe/api/ParticleEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/ParticleEmitter.cpp b/src/crepe/api/ParticleEmitter.cpp
index 1cfdceb..1e9cfaa 100644
--- a/src/crepe/api/ParticleEmitter.cpp
+++ b/src/crepe/api/ParticleEmitter.cpp
@@ -7,6 +7,6 @@ ParticleEmitter::ParticleEmitter(game_object_id_t game_object_id, const Sprite &
: Component(game_object_id),
sprite(sprite), data(data) {
for (size_t i = 0; i < this->data.max_particles; i++) {
- this->data.particles.emplace_back();
+ this->particles.emplace_back();
}
}