mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +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;
|
||||
|
||||
angle >>= ANGLETOFINESHIFT;
|
||||
pitch = (0-pitch)>>ANGLETOFINESHIFT;
|
||||
pitch >>= ANGLETOFINESHIFT;
|
||||
|
||||
vx = FixedMul (finecosine[pitch], finecosine[angle]);
|
||||
vy = FixedMul (finecosine[pitch], finesine[angle]);
|
||||
|
|
Loading…
Reference in a new issue