From e6662f1f33ff28e767176bb26df1c4ade61fd161 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Sat, 15 Apr 2023 09:46:34 -0500 Subject: [PATCH] Eliminate some warnings. --- src/pathfinding.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pathfinding.rs b/src/pathfinding.rs index 287f533..3a69562 100644 --- a/src/pathfinding.rs +++ b/src/pathfinding.rs @@ -320,7 +320,7 @@ fn negotiate_path( "{entity:?}: Direction: {direction:?}, Distance: {}", (next - start).length() ); - if let Some((hit, toi)) = rapier_context.cast_shape( + if let Some((_hit, _toi)) = rapier_context.cast_shape( start, transform.yaw().radians(), direction,