ref: 2fe50ce91d3a6a3f9077e7b7ee65f1e86cd40a9b
parent: 271b41a843d9968da761dbee072029010aec3c6e
author: Turo Lamminen <turol@iki.fi>
date: Thu May 7 13:44:55 EDT 2020
hexen: Fix clang abs warning in R_StoreWallRange
--- a/src/hexen/r_segs.c
+++ b/src/hexen/r_segs.c
@@ -348,7 +348,7 @@
// calculate rw_distance for scale calculation
//
rw_normalangle = curline->angle + ANG90;
- offsetangle = abs(rw_normalangle - rw_angle1);
+ offsetangle = abs((int) rw_normalangle - (int) rw_angle1);
if (offsetangle > ANG90)
offsetangle = ANG90;
distangle = ANG90 - offsetangle;