mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
netplay: fix off by 1
This commit is contained in:
parent
3567555598
commit
47ae39ea62
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ static void P_ReconfigureVertexSlope(pslope_t *slope)
|
|||
|
||||
// Get angles
|
||||
slope->xydirection = R_PointToAngle2(0, 0, slope->d.x, slope->d.y)+ANGLE_180;
|
||||
slope->zangle = InvAngle(R_PointToAngle2(0, 0, FRACUNIT, slope->zdelta))-1;
|
||||
slope->zangle = InvAngle(R_PointToAngle2(0, 0, FRACUNIT, slope->zdelta));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue