mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +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();
|
pitch = DVector2(dist, target->Z() + aimheight - actor->Center()).Angle();
|
||||||
}
|
}
|
||||||
actor->Vel3DFromAngle(pitch, speed);
|
actor->Vel3DFromAngle(-pitch, speed);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue