From e09838224e6ff998327a8d6de9e5a6eb791e54d5 Mon Sep 17 00:00:00 2001
From: Jaime Passos <lazymyuutsu@gmail.com>
Date: Thu, 26 Dec 2019 15:27:16 -0300
Subject: [PATCH] ifdef this right so it works like before without the define

---
 src/r_segs.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/r_segs.c b/src/r_segs.c
index 241402d447..0066579ac8 100644
--- a/src/r_segs.c
+++ b/src/r_segs.c
@@ -3250,7 +3250,11 @@ void R_StoreWallRange(INT32 start, INT32 stop)
 	else if (curline->v1->x == curline->v2->x)
 		rw_distance = (fixed_t)(llabs(viewx - curline->v1->x));
 	// big room fix
+#ifdef SOFTWARE_USE_FLOATS
 	else if ((curline->length >= 1024<<FRACBITS) || longboi)
+#else
+	else if (longboi)
+#endif
 		R_CalculateSegDistance(curline, viewx, viewy, longboi);
 	else
 		rw_distance = FixedMul(hyp, sineval);
-- 
GitLab