- fixed pitch calculation in P_SeekerMissile with SMF_PRECISE.

This commit is contained in:
Christoph Oelckers 2016-04-04 23:07:21 +02:00
parent 2dff6a08d1
commit 55cbeb0253

View file

@ -1675,7 +1675,7 @@ bool P_SeekerMissile (AActor *actor, double thresh, double turnMax, bool precise
}
pitch = DVector2(dist, target->Z() + aimheight - actor->Center()).Angle();
}
actor->Vel3DFromAngle(pitch, speed);
actor->Vel3DFromAngle(-pitch, speed);
}
return true;