diff --git a/source/core/gamefuncs.cpp b/source/core/gamefuncs.cpp index 216fbd610..541249656 100644 --- a/source/core/gamefuncs.cpp +++ b/source/core/gamefuncs.cpp @@ -44,7 +44,7 @@ bool calcChaseCamPos(DVector3& ppos, DCoreActor* act, sectortype** psect, DAngle if (!*psect) return false; // Calculate new pos to shoot backwards - DVector3 npos = -DVector3(ang.ToVector(), horiz.Tan()) * backamp; + DVector3 npos = -DVector3(ang.ToVector() * horiz.Cos(), horiz.Sin()) * backamp; HitInfoBase hitinfo; auto bakcstat = act->spr.cstat;