Skip to content

Commit

Permalink
Fix -ANGLE_180 because MSVC complains
Browse files Browse the repository at this point in the history
-ANGLE_180 evaluates equal to ANGLE_180.
  • Loading branch information
mazmazz committed Dec 25, 2018
1 parent 26f956a commit fa6f791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/r_bsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fa6f791

Please sign in to comment.