From f93b31f0a77f7230e953aaf2334ed5bdc98652b1 Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Mon, 20 Jun 2016 02:08:07 +0100 Subject: [PATCH] FUCK C90 --- src/p_map.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_map.c b/src/p_map.c index 44922372..8621ba20 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -2649,6 +2649,7 @@ isblocking: // see about climbing on the wall if (!(checkline->flags & ML_NOCLIMB)) { + boolean canclimb; // FUCK C90 angle_t climbangle, climbline; INT32 whichside = P_PointOnLineSide(slidemo->x, slidemo->y, li); @@ -2659,7 +2660,7 @@ isblocking: climbangle += (ANGLE_90 * (whichside ? -1 : 1)); - boolean canclimb = (li->backsector ? P_IsClimbingValid(slidemo->player, climbangle) : true); + canclimb = (li->backsector ? P_IsClimbingValid(slidemo->player, climbangle) : true); if (((!slidemo->player->climbing && abs((signed)(slidemo->angle - ANGLE_90 - climbline)) < ANGLE_45) || (slidemo->player->climbing == 1 && abs((signed)(slidemo->angle - climbline)) < ANGLE_135))