diff --git a/libs/B-luga-graphics/include/B-luga-graphics/SpriteSystems.hpp b/libs/B-luga-graphics/include/B-luga-graphics/SpriteSystems.hpp index 601eac8..2125a3b 100644 --- a/libs/B-luga-graphics/include/B-luga-graphics/SpriteSystems.hpp +++ b/libs/B-luga-graphics/include/B-luga-graphics/SpriteSystems.hpp @@ -128,7 +128,7 @@ namespace Systems { size = calculateSize(sprite); sprite.drawPro( Raylib::Rectangle(0.F, 0.F, sprite.getTextureWidth(), sprite.getTextureHeight()), - Raylib::Rectangle(position.x, position.y, size.x, size.y), + Raylib::Rectangle(spritePos.x, spritePos.y, size.x, size.y), Raylib::Vector2(origin.x, origin.y), rotation, tint);