From c7575f2e21d410e81e1d645465d915b351c03780 Mon Sep 17 00:00:00 2001
From: Quaternions <krakow20@gmail.com>
Date: Tue, 21 Jan 2025 08:49:44 -0800
Subject: [PATCH] deref bool

---
 strafe-client/src/model_physics.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/strafe-client/src/model_physics.rs b/strafe-client/src/model_physics.rs
index a8c15774..be7382ef 100644
--- a/strafe-client/src/model_physics.rs
+++ b/strafe-client/src/model_physics.rs
@@ -984,7 +984,7 @@ fn is_empty_volume(normals:Vec<Vector3<Fixed<3,96>>>)->bool{
 			for k in 0..len{
 				if k!=i&&k!=j{
 					let d=n.dot(normals[k]).is_negative();
-					if let Some(comp)=&d_comp{
+					if let &Some(comp)=&d_comp{
 						// This is testing if d_comp*d < 0
 						if comp^d{
 							return true;