From acd473201dd042318bb99772858dddd804a38c1b Mon Sep 17 00:00:00 2001 From: Xavier Mitault Date: Sun, 5 Nov 2023 02:09:06 +0000 Subject: [PATCH] Merge branch 'main' of github.com:X-R-G-B/B-luga --- libs/B-luga-graphics/include/B-luga-graphics/SpriteSystems.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);