From 508f37faa701c8ad0cf8d9271bd489ba9978e765 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 30 Mar 2021 03:25:03 -0400 Subject: collision: Drop "=" --- (limited to 'src') diff --git a/src/collision.c b/src/collision.c index 758f28c..f790d96 100644 --- a/src/collision.c +++ b/src/collision.c @@ -83,7 +83,7 @@ db_col_cir_line(double cir_x, double cir_y, double cir_r, } else { return -1; } - return (cir_r * cir_r) >= + return (cir_r * cir_r) > ((*col_x - cir_x) * (*col_x - cir_x) + (*col_y - cir_y) * (*col_y - cir_y)); } -- cgit v0.9.1