mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-25 13:31:55 +00:00
- SW: Fix tank track velocity.
* Originating from 8efe6f638b
.
* Velocity was correctly floatified initially but because it was unwrapped, it never got adjusted for Q28.4 later on.
This commit is contained in:
parent
56d9ccfc9c
commit
b03d674a74
1 changed files with 1 additions and 1 deletions
|
@ -2318,7 +2318,7 @@ void DoTankTreads(PLAYER* pp)
|
|||
if (Prediction)
|
||||
return;
|
||||
|
||||
int vel = int(pp->vect.Length() * 1024);
|
||||
double vel = pp->vect.Length() * 64;
|
||||
double dot = pp->vect.dot(pp->actor->spr.Angles.Yaw.ToVector());
|
||||
if (dot < 0)
|
||||
reverse = true;
|
||||
|
|
Loading…
Reference in a new issue