mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- fixed incorrect sign in P_TranslatePortalVXVY
This commit is contained in:
parent
841a5795ae
commit
2e4b8dd416
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
|
|
Loading…
Reference in a new issue