From 7cac623ecbe8b8e44e3cf4f55288d65ad669681f Mon Sep 17 00:00:00 2001 From: Boondorl Date: Wed, 18 Jun 2025 10:33:16 -0400 Subject: [PATCH] Fix SMF_PRECISE flag for seekers Use the player's actual eye position when calculating. --- src/playsim/p_mobj.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playsim/p_mobj.cpp b/src/playsim/p_mobj.cpp index 072afdd3c..8b0ac17f4 100644 --- a/src/playsim/p_mobj.cpp +++ b/src/playsim/p_mobj.cpp @@ -2374,7 +2374,7 @@ bool P_SeekerMissile (AActor *actor, DAngle thresh, DAngle turnMax, bool precise double aimheight = target->Height/2; if (target->player) { - aimheight = target->player->DefaultViewHeight(); + aimheight = target->player->viewz - target->Z(); } pitch = DVector2(dist, target->Z() + aimheight - actor->Center()).Angle(); }