- fixed incorrect sign in P_TranslatePortalVXVY

This commit is contained in:
Christoph Oelckers 2016-05-09 21:59:13 +02:00
parent 841a5795ae
commit 2e4b8dd416
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
//============================================================================