From 47ae39ea6216e3c95e1309bc628cc3c7796c253d Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Sun, 22 May 2016 11:03:04 -0400 Subject: [PATCH] netplay: fix off by 1 --- src/p_slopes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_slopes.c b/src/p_slopes.c index f8a2752c..6393ca4b 100644 --- a/src/p_slopes.c +++ b/src/p_slopes.c @@ -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)); } }