From 2e4b8dd416ae3437fc6322a68ac4814ba94d7e7e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 9 May 2016 21:59:13 +0200 Subject: [PATCH] - fixed incorrect sign in P_TranslatePortalVXVY --- src/portal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/portal.cpp b/src/portal.cpp index 964f742c7..af98718bf 100644 --- a/src/portal.cpp +++ b/src/portal.cpp @@ -620,7 +620,7 @@ void P_TranslatePortalVXVY(line_t* src, double &velx, double &vely) double orig_velx = velx; double orig_vely = vely; velx = orig_velx * port->mCosRot - orig_vely * port->mSinRot; - vely = orig_vely * port->mCosRot - orig_velx * port->mSinRot; + vely = orig_vely * port->mCosRot + orig_velx * port->mSinRot; } //============================================================================