mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- 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…
Reference in a new issue