mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- SW: Fix ladder speed with unnecessary amplification applied.
* Fixes #745.
This commit is contained in:
parent
817a0cb94a
commit
d892fa10d2
1 changed files with 1 additions and 1 deletions
|
@ -3336,7 +3336,7 @@ void DoPlayerClimb(PLAYER* pp)
|
|||
if (abs(pp->vect.X) < 0.05 && abs(pp->vect.Y) < 0.05)
|
||||
pp->vect.X = pp->vect.Y = 0;
|
||||
|
||||
double climbVel = pp->vect.Length() * 2;
|
||||
double climbVel = pp->vect.Length();
|
||||
double dot = pp->vect.dot(pp->angle.ang.ToVector());
|
||||
if (dot < 0)
|
||||
climbVel = -climbVel;
|
||||
|
|
Loading…
Reference in a new issue