From 64e3dc9c109f4f76d5d1f65a9082340213985361 Mon Sep 17 00:00:00 2001 From: iamcheeseman <[hidden email]> Date: Fri, 16 Jan 2026 14:02:01 -0500 Subject: Add recoil to the gun --- src/bullet.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bullet.odin') diff --git a/src/bullet.odin b/src/bullet.odin index 61b920a..9b95bb8 100644 --- a/src/bullet.odin +++ b/src/bullet.odin @@ -65,7 +65,7 @@ update_bullets :: proc(dt: f32) { phys.update_body(b.body) - if phys.get_collisions(b.body) != {} || b.lifetime < 0 { + if phys.get_collisions(b.body) != nil || b.lifetime < 0 { delete_bullet(b.handle) continue } -- cgit v1.3-2-g0d8e