mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-18 07:32:28 +00:00
Merge pull request #511 from MajorCooke/CheckLOFpitch
A_CheckLOF Pitch FIx
This commit is contained in:
commit
e397b5a475
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