aboutsummaryrefslogtreecommitdiff
path: root/src/sprite.odin
diff options
context:
space:
mode:
Diffstat (limited to 'src/sprite.odin')
-rw-r--r--src/sprite.odin4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sprite.odin b/src/sprite.odin
index 4d82813..da236e7 100644
--- a/src/sprite.odin
+++ b/src/sprite.odin
@@ -24,7 +24,7 @@ init_sprite :: proc(
sprite: ^Sprite,
image_id: Image_Id,
anim_id: Maybe(Animation_Id) = nil,
-) -> bool {
+) {
sprite.image = get_image(image_id)
switch id in anim_id {
@@ -40,8 +40,6 @@ init_sprite :: proc(
sprite.height = i32(sprite.image.size.y)
sprite.scale = Vec2{1, 1}
-
- return true
}
set_sprite_active_tag :: proc(sprite: ^Sprite, tag_name: string) {