aboutsummaryrefslogtreecommitdiff
path: root/src/bullet.odin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bullet.odin')
-rw-r--r--src/bullet.odin2
1 files changed, 1 insertions, 1 deletions
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
}