netplay: fix off by 1

This commit is contained in:
Alam Ed Arias 2016-05-22 11:03:04 -04:00
parent 3567555598
commit 47ae39ea62
1 changed files with 1 additions and 1 deletions

View File

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