netplay: fix off by 1
This commit is contained in:
parent
3567555598
commit
47ae39ea62
|
@ -90,7 +90,7 @@ static void P_ReconfigureVertexSlope(pslope_t *slope)
|
||||||
|
|
||||||
// Get angles
|
// Get angles
|
||||||
slope->xydirection = R_PointToAngle2(0, 0, slope->d.x, slope->d.y)+ANGLE_180;
|
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 New Issue