mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +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 /= speed;
|
||||
|
||||
vel[0] = vel[0] * newspeed;
|
||||
vel[1] = vel[1] * newspeed;
|
||||
vel[2] = vel[2] * newspeed;
|
||||
VectorScale (vel, newspeed, vel);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue