This commit is contained in:
Christoph Oelckers 2016-01-26 22:27:42 +01:00
commit 8993f84087

View file

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