From bb52b5f9c9def80b1e8704acabde6f8c6a34e1a2 Mon Sep 17 00:00:00 2001 From: Xander Swan Date: Wed, 3 Dec 2025 09:52:13 -0500 Subject: remove unused variables --- src/draw/animation.odin | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/draw/animation.odin') diff --git a/src/draw/animation.odin b/src/draw/animation.odin index ac947fb..e6b50d1 100644 --- a/src/draw/animation.odin +++ b/src/draw/animation.odin @@ -1,7 +1,7 @@ package draw +import "core:log" import "core:encoding/json" -import "core:fmt" import "core:os" import "core:path/filepath" import "core:strings" @@ -46,7 +46,7 @@ init_anim_data :: proc(anim: ^Animation, path: string) -> bool { json_err := json.unmarshal(data, anim) if json_err != nil { - fmt.println("could not unmarshal data") + log.error("could not unmarshal data") return false } @@ -61,6 +61,8 @@ init_anim_data :: proc(anim: ^Animation, path: string) -> bool { anim.image_path = strings.concatenate({anim_dir, "/", partial_img_path}) + log.debugf("loaded animation '%v'", path) + return true } -- cgit v1.3-2-g0d8e