diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/crepe/system/RenderSystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/system/RenderSystem.cpp b/src/crepe/system/RenderSystem.cpp index ba09530..b4b745f 100644 --- a/src/crepe/system/RenderSystem.cpp +++ b/src/crepe/system/RenderSystem.cpp @@ -122,7 +122,7 @@ bool RenderSystem::render_particle(const Sprite & sprite, const Transform & tm){ ctx.draw(SDLContext::RenderContext{ .sprite = sprite, .texture = res, - .pos = AbsoluutPosition::get_position(tm, em.data.offset + sprite.data.position_offset), + .pos = p.position, .angle = p.angle, .scale = tm.scale, }); @@ -138,7 +138,7 @@ void RenderSystem::render_normal(const Sprite & sprite, const Transform & tm) { ctx.draw(SDLContext::RenderContext{ .sprite = sprite, .texture = res, - .pos = AbsoluutPosition::get_position(tm, sprite.data.position_offset), + .pos = tm.position, .angle = tm.rotation, .scale = tm.scale, }); |