From fa6f791ec38958d1866611ba746bb1151914d432 Mon Sep 17 00:00:00 2001 From: mazmazz Date: Tue, 25 Dec 2018 01:14:05 -0500 Subject: [PATCH] Fix -ANGLE_180 because MSVC complains -ANGLE_180 evaluates equal to ANGLE_180. --- src/r_bsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_bsp.c b/src/r_bsp.c index cae66844c9..a6e54182ba 100644 --- a/src/r_bsp.c +++ b/src/r_bsp.c @@ -614,7 +614,7 @@ static boolean R_CheckBBox(const fixed_t *bspcoord) if ((angle1 >= ANGLE_180) && (angle1 < ANGLE_270)) angle1 = ANGLE_180-1; else - angle2 = -ANGLE_180; + angle2 = ANGLE_180; } if ((signed)angle2 >= (signed)clipangle) return false;