From 02d115f119db9043497bde4d3ccc34d789e2cc8b Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 22 Jul 2024 18:08:26 +0200 Subject: [PATCH] don't check flippedness in HWR_RotateSpritePolyToAim if the mobj is actually a precipmobj! --- src/hardware/hw_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 0b946ebeb..468b6dfbf 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -3661,7 +3661,7 @@ static void HWR_RotateSpritePolyToAim(gr_vissprite_t *spr, FOutVector *wallVerts } } - if (P_MobjFlip(spr->mobj) == -1) + if (!precip && P_MobjFlip(spr->mobj) == -1) // precip doesn't have eflags so they can't flip { basey = FIXED_TO_FLOAT(interp.z + spr->mobj->height); }