mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 13:11:33 +00:00
Nevermind this.
This commit is contained in:
parent
d20a7516c9
commit
116e157447
1 changed files with 0 additions and 1 deletions
|
@ -6125,7 +6125,6 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_FaceVelocity)
|
|||
fixed_t current = mobj->pitch;
|
||||
const FVector2 velocity(mobj->velx, mobj->vely);
|
||||
const fixed_t pitch = R_PointToAngle2(0, 0, (fixed_t)velocity.Length(), -mobj->velz);
|
||||
fixedvec2 test;
|
||||
if (pitchlimit > 0)
|
||||
{
|
||||
// [MC] angle_t for pitchlimit was required because otherwise
|
||||
|
|
Loading…
Reference in a new issue