From 3e62a745a208aaf9f274a1173c6a4f4875135a55 Mon Sep 17 00:00:00 2001 From: James Turk Date: Sun, 16 Apr 2023 04:01:21 -0500 Subject: [PATCH] fix sfx --- toomgis.p8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toomgis.p8 b/toomgis.p8 index 73b6a51..23f52cf 100644 --- a/toomgis.p8 +++ b/toomgis.p8 @@ -479,13 +479,13 @@ function level_upd() if d < toomgis_radius() and item.n != 0 then -- item collision if item.n > 16 then - sfx(5, 0) + sfx(5) hitbody() streak = 0 vx = max(vx - 1, min_speed) else local mult = streak2mult() - sfx(6, 0, 0, 4*mult) + sfx(6, -1, 0, 4*mult) for i=1,mult do add2body(item.n) end