aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/RenderSystem.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-19 12:55:04 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-19 12:55:04 +0100
commitfe396c458b38ee209dd4c1f3ba4d053bef20f57a (patch)
tree129c0c74263336c24fb0c24ec6ab187295188d2e /src/crepe/system/RenderSystem.cpp
parentd355d374f9e3182750b2cfce1036d0cc011d60dd (diff)
tested system, added roation to emitter
Diffstat (limited to 'src/crepe/system/RenderSystem.cpp')
-rw-r--r--src/crepe/system/RenderSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/RenderSystem.cpp b/src/crepe/system/RenderSystem.cpp
index 1091c3f..d76a122 100644
--- a/src/crepe/system/RenderSystem.cpp
+++ b/src/crepe/system/RenderSystem.cpp
@@ -98,7 +98,7 @@ bool RenderSystem::render_particle(const Sprite & sprite, const double & scale)
.sprite = sprite,
.texture = res,
.pos = p.position,
- .angle = p.angle+sprite.data.angle_offset,
+ .angle = p.angle,
.scale = scale,
});
}