diff --git a/collisiontest.p8 b/collisiontest.p8 index fb5d365..0a619ca 100644 --- a/collisiontest.p8 +++ b/collisiontest.p8 @@ -13,11 +13,9 @@ ly1=127 -->8 function collides() - local tmin=0 - local tmax=1 + local tmin,tmax=0,1 - local ldx=lx1-lx0 - local ldy=ly1-ly0 + local ldx,ldy=lx1-lx0,ly1-ly0 -- x