From 0c1d0d8f5c74fb159a8935882375e481543c30c5 Mon Sep 17 00:00:00 2001 From: Sally Cochenour Date: Sun, 1 Mar 2020 14:56:16 -0500 Subject: [PATCH] Don't need abs here --- src/p_mobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.c b/src/p_mobj.c index 2f514f526..1f2e5e3de 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -11037,7 +11037,7 @@ void P_SpawnPrecipitation(void) if (precipsector->sector->ceilingpic != skyflatnum) continue; - height = abs(precipsector->sector->ceilingheight - precipsector->sector->floorheight); + height = precipsector->sector->ceilingheight - precipsector->sector->floorheight; // Exists, but is too small for reasonable precipitation. if (height < 64<