aboutsummaryrefslogtreecommitdiff
path: root/demo/shmup.scm
diff options
context:
space:
mode:
authorGene Pasquet <dev@etenil.net>2026-04-12 15:57:45 +0100
committerGene Pasquet <dev@etenil.net>2026-04-12 15:57:45 +0100
commitc1c868d9b6ee61002c7ccb33fbc6a15c5b090e6a (patch)
treeb818607a0e2ab52113e3fcead77a096b9adfdbfb /demo/shmup.scm
parente1da1b0c2b2df9880e7f0a76b6ecc7aefecaf229 (diff)
Enrich entities pipelining to provide scene context to processors
Diffstat (limited to 'demo/shmup.scm')
-rw-r--r--demo/shmup.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/shmup.scm b/demo/shmup.scm
index f4897ae..315069c 100644
--- a/demo/shmup.scm
+++ b/demo/shmup.scm
@@ -149,7 +149,7 @@
(game-scene-set! game
(chain (update-scene scene entities: all)
(scene-map-entities _
- (lambda (e) (if (eq? (entity-type e) 'player) e (move-projectile e))))
+ (lambda (scene_ e) (if (eq? (entity-type e) 'player) e (move-projectile e))))
(scene-remove-dead _)
(scene-filter-entities _
(lambda (e) (or (eq? (entity-type e) 'player) (in-bounds? e))))))))))