From 3d2428af8e8d9d49b4ade52d4806a7dae4cf1ab8 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 7 Nov 2024 20:03:14 +0100 Subject: merge #25 + nitpicking --- src/crepe/api/Sprite.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/crepe/api/Sprite.h') diff --git a/src/crepe/api/Sprite.h b/src/crepe/api/Sprite.h index 28078cd..00dcb27 100644 --- a/src/crepe/api/Sprite.h +++ b/src/crepe/api/Sprite.h @@ -12,14 +12,15 @@ namespace crepe { struct FlipSettings { - bool flip_x = 1; - bool flip_y = 1; + bool flip_x = true; + bool flip_y = true; }; class Sprite : public Component { public: - Sprite(game_object_id_t id, std::shared_ptr image, const Color & color, const FlipSettings & flip); + Sprite(game_object_id_t id, std::shared_ptr image, + const Color & color, const FlipSettings & flip); ~Sprite(); std::shared_ptr sprite_image; Color color; -- cgit v1.2.3