Merge pull request #511 from MajorCooke/CheckLOFpitch

A_CheckLOF Pitch FIx
This commit is contained in:
coelckers 2016-01-26 14:44:05 +01:00
commit e397b5a475

View file

@ -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]);