mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Merge branch 'hyperwalls-fix' into 'next'
Fix hyperwalls See merge request STJr/SRB2!1232
This commit is contained in:
commit
16f08d28e2
1 changed files with 1 additions and 1 deletions
|
@ -3107,7 +3107,7 @@ static void P_HitSlideLine(line_t *ld)
|
|||
lineangle >>= ANGLETOFINESHIFT;
|
||||
deltaangle >>= ANGLETOFINESHIFT;
|
||||
|
||||
movelen = P_AproxDistance(tmxmove, tmymove);
|
||||
movelen = R_PointToDist2(0, 0, tmxmove, tmymove);
|
||||
newlen = FixedMul(movelen, FINECOSINE(deltaangle));
|
||||
|
||||
tmxmove = FixedMul(newlen, FINECOSINE(lineangle));
|
||||
|
|
Loading…
Reference in a new issue