mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-30 20:50:42 +00:00
Small optimization.
This commit is contained in:
parent
bf18436ad5
commit
265edd1fef
1 changed files with 1 additions and 3 deletions
|
@ -387,9 +387,7 @@ PM_Friction (void)
|
||||||
newspeed = 0;
|
newspeed = 0;
|
||||||
newspeed /= speed;
|
newspeed /= speed;
|
||||||
|
|
||||||
vel[0] = vel[0] * newspeed;
|
VectorScale (vel, newspeed, vel);
|
||||||
vel[1] = vel[1] * newspeed;
|
|
||||||
vel[2] = vel[2] * newspeed;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue