ref: 271b41a843d9968da761dbee072029010aec3c6e
parent: 02844c387cd34599770d00701009b9f1f8a416f3
author: Turo Lamminen <turol@iki.fi>
date: Thu May 7 13:43:24 EDT 2020
hexen: Fix clang abs warning in P_XYMovement
--- a/src/hexen/p_mobj.c
+++ b/src/hexen/p_mobj.c
@@ -537,7 +537,7 @@
{
case MT_CENTAUR:
case MT_CENTAURLEADER:
- if (abs(angle - BlockingMobj->angle) >> 24 > 45)
+ if (abs((int) angle - (int) BlockingMobj->angle) >> 24 > 45)
goto explode;
if (mo->type == MT_HOLY_FX)
goto explode;