aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Sprite.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-29 21:20:48 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-29 21:20:48 +0100
commit7ae597ac9268e031927f94dd89c20ab6c034f5de (patch)
treeee04ad307c70d9007b7e2589c33b4ebcf2fbb287 /src/crepe/api/Sprite.cpp
parent85aa57e33d493502b05984ce44db6c68f627a6f2 (diff)
working floating point black bars
Diffstat (limited to 'src/crepe/api/Sprite.cpp')
-rw-r--r--src/crepe/api/Sprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/Sprite.cpp b/src/crepe/api/Sprite.cpp
index 8647794..1d57b53 100644
--- a/src/crepe/api/Sprite.cpp
+++ b/src/crepe/api/Sprite.cpp
@@ -11,7 +11,7 @@ using namespace std;
using namespace crepe;
Sprite::Sprite(game_object_id_t id, Texture & image, const Color & color,
- const FlipSettings & flip, int sort_layer, int order_layer, int height)
+ const FlipSettings & flip, int sort_layer, int order_layer, float height)
: Component(id),
color(color),
flip(flip),