ref: 02844c387cd34599770d00701009b9f1f8a416f3
parent: 53d3f69c81145f64cd20f35c97062db9d187aa6e
author: Turo Lamminen <[email protected]>
date: Thu May 7 13:40:31 EDT 2020
hexen: Fix clang abs warning in A_SorcBallOrbit
--- a/src/hexen/p_enemy.c
+++ b/src/hexen/p_enemy.c
@@ -4032,7 +4032,7 @@
case SORC_STOPPING: // Balls stopping
if ((parent->special2.i == actor->type) &&
(parent->args[1] > SORCBALL_SPEED_ROTATIONS) &&
- (abs(angle - (parent->angle >> ANGLETOFINESHIFT)) <
+ (abs((int) angle - (int) (parent->angle >> ANGLETOFINESHIFT)) <
(30 << 5)))
{
// Can stop now