mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
- Fixed: A_CheckLOF was doubling up on its pitch and reversing it when without a target.
This commit is contained in:
parent
9f8dee45c4
commit
cb43ce9cfc
1 changed files with 1 additions and 1 deletions
|
@ -3472,7 +3472,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CheckLOF)
|
||||||
else return;
|
else return;
|
||||||
|
|
||||||
angle >>= ANGLETOFINESHIFT;
|
angle >>= ANGLETOFINESHIFT;
|
||||||
pitch = (0-pitch)>>ANGLETOFINESHIFT;
|
pitch >>= ANGLETOFINESHIFT;
|
||||||
|
|
||||||
vx = FixedMul (finecosine[pitch], finecosine[angle]);
|
vx = FixedMul (finecosine[pitch], finecosine[angle]);
|
||||||
vy = FixedMul (finecosine[pitch], finesine[angle]);
|
vy = FixedMul (finecosine[pitch], finesine[angle]);
|
||||||
|
|
Loading…
Reference in a new issue