- fixed pitch calculation in P_SeekerMissile with SMF_PRECISE.
This commit is contained in:
parent
2dff6a08d1
commit
55cbeb0253
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue