From 89ea473c3b6145384f749250e3ee5ac562a9b2d5 Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 8 Mar 2024 01:19:25 +0100 Subject: [PATCH] fix shit on party cruiser well fixing the cullplane broke party cruiser, so im just gonna give it the same parameters as the software version i guess idk --- src/hardware/hw_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 0a9cef43e..41d50071e 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -3323,7 +3323,7 @@ void HWR_Subsector(size_t num) if (gr_frontsector->cullheight) { - if (HWR_DoCulling(gr_frontsector->cullheight, viewsector->cullheight, gr_viewz, FIXED_TO_FLOAT(bottomCullHeight), FIXED_TO_FLOAT(topCullHeight))) + if (HWR_DoCulling(gr_frontsector->cullheight, viewsector->cullheight, gr_viewz, FIXED_TO_FLOAT(*rover->bottomheight), FIXED_TO_FLOAT(*rover->topheight))) continue; }