From b93d4a796ad4be1831d0a5fd4775fcc2ff1c9a66 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 6 Apr 2016 17:27:49 +0200 Subject: [PATCH] - fixed angles for am_rotate. --- src/am_map.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/am_map.cpp b/src/am_map.cpp index d84da2ebd..58082a7bf 100644 --- a/src/am_map.cpp +++ b/src/am_map.cpp @@ -2645,7 +2645,7 @@ void AM_drawPlayers () pt.y = pos.Y; if (am_rotate == 1 || (am_rotate == 2 && viewactive)) { - angle = 90.; + angle = -90.; AM_rotatePoint (&pt.x, &pt.y); } else @@ -2806,7 +2806,7 @@ void AM_drawThings () if (frame->Texture[0] != frame->Texture[1]) angle += 180. / 16; if (am_rotate == 1 || (am_rotate == 2 && viewactive)) { - angle += players[consoleplayer].camera->Angles.Yaw - 90.; + angle += players[consoleplayer].camera->Angles.Yaw + 90.; } rotation = int((angle.Normalized360() * (16. / 360.)).Degrees); @@ -2830,7 +2830,7 @@ void AM_drawThings () if (am_rotate == 1 || (am_rotate == 2 && viewactive)) { AM_rotatePoint (&p.x, &p.y); - angle += -players[consoleplayer].camera->Angles.Yaw + 90.; + angle += -players[consoleplayer].camera->Angles.Yaw - 90.; } color = AMColors[AMColors.ThingColor];