aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGene Pasquet <dev@etenil.net>2026-04-19 13:20:03 +0100
committerGene Pasquet <dev@etenil.net>2026-04-19 13:20:03 +0100
commitc470b31cd19fdc96e9c068093d9ad53d158b2689 (patch)
treeb2721b8bb801486eb48efc0e7c08a9008daf7965
parent986564f050496dd78667eb37b6e66bd540968905 (diff)
Code cleanup
-rw-r--r--animation.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/animation.scm b/animation.scm
index 2466cc8..f166bff 100644
--- a/animation.scm
+++ b/animation.scm
@@ -89,10 +89,7 @@
(define-pipeline (apply-animation animation) (scene entity dt)
guard: (entity-ref entity #:animations #f)
- (let* ((animations (entity-ref entity #:animations #f))
- (updated-entity (animate-entity entity animations dt)))
- (when (eq? (entity-ref entity #:type) 'timed-frames)
- (pp (list (entity-ref updated-entity #:tile-id) (entity-ref updated-entity #:duration) (entity-ref entity #:anim-tick))))
- updated-entity))
+ (let ((animations (entity-ref entity #:animations #f)))
+ (animate-entity entity animations dt)))
) ;; End of animation module