Small optimization.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2003-03-21 00:52:30 +00:00
parent bf18436ad5
commit 265edd1fef

View file

@ -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