summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-07-15 22:01:24 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-07-27 17:15:44 +0200
commit5bd23bd6e0dbd1a4316d3ff0d4d3fca72f333961 (patch)
tree8a6a8333a145ccb621a4dc269afe1feb2f751718
parent8287a51f6ea8e11e20d75382835b5368cf75c62c (diff)
collide?: Return object.
-rw-r--r--scenes/game.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scenes/game.scm b/scenes/game.scm
index 6ebbaab..1e983fe 100644
--- a/scenes/game.scm
+++ b/scenes/game.scm
@@ -225,7 +225,7 @@
(set-rect-y! hit-vis (+ (rect-y r) (vec2-y offset)))
(set-rect-width! hit-vis (rect-width r))
(set-rect-height! hit-vis (rect-height r))
- #t)
+ obj)
#f)))
(object-layer-objects
(tile-map-layer-ref (asset-ref (tile-map game)) layer)))))