From 0a2bd1c54ab23049063cb23695b1e4774a2a84cf Mon Sep 17 00:00:00 2001 From: tenshi Date: Sat, 4 Nov 2023 22:18:38 +0100 Subject: [PATCH] BLUGA: Fix compile --- libs/B-luga-graphics/include/B-luga-graphics/SpriteSystems.hpp | 2 +- libs/B-luga-physics/include/B-luga-physics/ECSCustomTypes.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 a3c35ee..b8a7421 100644 --- a/libs/B-luga-graphics/include/B-luga-graphics/SpriteSystems.hpp +++ b/libs/B-luga-graphics/include/B-luga-graphics/SpriteSystems.hpp @@ -131,7 +131,7 @@ namespace Systems { size = calculateSize(sprite); sprite.drawPro( Raylib::Rectangle(0.F, 0.F, sprite.getTextureWidth(), sprite.getTextureHeight()), - Raylib::Rectangle(pos.x, pos.y, size.x, size.y), + Raylib::Rectangle(position.x, position.y, size.x, size.y), Raylib::Vector2(origin.x, origin.y), rotation, tint); diff --git a/libs/B-luga-physics/include/B-luga-physics/ECSCustomTypes.hpp b/libs/B-luga-physics/include/B-luga-physics/ECSCustomTypes.hpp index 9724e0b..a864943 100644 --- a/libs/B-luga-physics/include/B-luga-physics/ECSCustomTypes.hpp +++ b/libs/B-luga-physics/include/B-luga-physics/ECSCustomTypes.hpp @@ -200,7 +200,7 @@ namespace Types { } _physicsMap[ZIGZAG] = zigzag; } - std::unordered_map _physicsMap; + std::unordered_map _physicsMap; }; struct Dead {